tamam loose-type bir dil ama,

implicitly None döndürmek iyi birşey değil yine de.
This commit is contained in:
Barış Metin
2005-07-02 00:59:40 +00:00
parent ef46c0554a
commit 8b33e32bb3
+1
View File
@@ -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!"""