[Lxml-checkins] r54494 - in lxml/trunk: . tools
scoder at codespeak.net
scoder at codespeak.net
Tue May 6 20:40:23 CEST 2008
Author: scoder
Date: Tue May 6 20:40:22 2008
New Revision: 54494
Modified:
lxml/trunk/ (props changed)
lxml/trunk/tools/xpathgrep.py
Log:
r4172 at delle: sbehnel | 2008-05-06 19:28:15 +0200
API usage fix
Modified: lxml/trunk/tools/xpathgrep.py
==============================================================================
--- lxml/trunk/tools/xpathgrep.py (original)
+++ lxml/trunk/tools/xpathgrep.py Tue May 6 20:40:22 2008
@@ -200,7 +200,7 @@
register_builtins()
namespaces["py"] = PYTHON_BUILTINS_NS
- xpath = et.XPath(args[0], namespaces)
+ xpath = et.XPath(args[0], namespaces=namespaces)
found = False
if len(args) == 1:
More information about the lxml-checkins
mailing list