diff --git a/pisi/xmlext.py b/pisi/xmlext.py index a382a723..3f2cd974 100644 --- a/pisi/xmlext.py +++ b/pisi/xmlext.py @@ -15,6 +15,7 @@ def getNodeAttribute(node, attrname): attr = node.attributes.item(i) if attr.name == attrname: return attr.childNodes[0].data + return None def getNodeText(node, tagpath = ""): """get the first child and expect it to be text!"""