[XML-SIG] [ pyxml-Bugs-438514 ] syntax error on xml.dom.ext.__init__
noreply@sourceforge.net
noreply@sourceforge.net
Wed, 04 Jul 2001 05:25:29 -0700
Bugs item #438514, was opened at 2001-07-04 05:25
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=106473&aid=438514&group_id=6473
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Alexandre Fayolle (afayolle)
Assigned to: Nobody/Anonymous (nobody)
Summary: syntax error on xml.dom.ext.__init__
Initial Comment:
Using the latest version of PyXML from CVS (just did an
update), I got a SyntaxError on xml.dom.ext
File "/home/alf/Narval/narval/lib.py", line 32, in ?
from xml.dom.ext import Print, PrettyPrint,
StripXml
File
"/home/alf/lib/python/_xmlplus/dom/ext/__init__.py",
line 285
elif attr.namespaceURI:
Here's a patch which fixes this indentation problem.
--- __init__.py~ Sat Jun 23 19:11:08 2001
+++ __init__.py Wed Jul 4 14:25:00 2001
@@ -282,7 +282,7 @@
nss[''] = attr.value
else:
nss[attr.localName] =
attr.value
- elif attr.namespaceURI:
- nss[attr.prefix] = attr.namespaceURI
+ elif attr.namespaceURI:
+ nss[attr.prefix] =
attr.namespaceURI
SeekNss(child, nss)
return nss
Cheers
Alexandre Fayolle
Logilab
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=106473&aid=438514&group_id=6473