This commit is contained in:
Barış Metin
2005-07-01 13:30:44 +00:00
parent c2b197cdd6
commit a481036dc9
+1 -1
View File
@@ -64,7 +64,7 @@ class XmlFile(object):
def getNodeText(self, tagPath): def getNodeText(self, tagPath):
"""returns the text of *first* matching node for given tag path.""" """returns the text of *first* matching node for given tag path."""
node = self.getNode(tagpath) node = self.getNode(tagPath)
if not node: if not node:
return None return None
return getNodeText(node) return getNodeText(node)