Browse Source

----------------------------------------------------------------------


			
			main
		
Joshua Boverhof 21 years ago
parent
commit
b696631680
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      Utility.py

+ 1
- 1
Utility.py View File

@@ -400,7 +400,7 @@ class DOM:
if item[1] == name: if item[1] == name:
return 1 return 1
return 0 return 0
return node.attrsNS.has_key((nsuri, name))
return node._attrsNS.has_key((nsuri, name))


def getAttr(self, node, name, nsuri=None, default=join): def getAttr(self, node, name, nsuri=None, default=join):
"""Return the value of the attribute named 'name' with the """Return the value of the attribute named 'name' with the


Loading…
Cancel
Save