summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorscoder <none@none>2008-06-09 22:56:38 +0200
committerscoder <none@none>2008-06-09 22:56:38 +0200
commitfe54c33aafa433f4e7229103b0386add0fe921b4 (patch)
tree7ff477921aad529dc13786ee537f17a2f30a8d0d /tools
parent66f297eb48cf5a10280166a94c6768cb34b80642 (diff)
downloadpython-lxml-fe54c33aafa433f4e7229103b0386add0fe921b4.tar.gz
[svn r3825] r4501@delle: sbehnel | 2008-06-09 22:51:52 +0200
copy+paste bug in xpathgrep.py --HG-- branch : trunk
Diffstat (limited to 'tools')
-rw-r--r--tools/xpathgrep.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/xpathgrep.py b/tools/xpathgrep.py
index 405ce496..48843446 100644
--- a/tools/xpathgrep.py
+++ b/tools/xpathgrep.py
@@ -239,7 +239,7 @@ def main(options, args):
found = False
if len(args) == 1:
found = find_in_file(
- sys.stdin, xpath, print_name, options.xinclude,
+ sys.stdin, xpath, False, options.xinclude,
options.pretty_print)
else:
print_name = len(args) > 2