commit | dbbcf8e14a0f566a65fea0d9d7bbf30e9f499f70 | [log] [tgz] |
---|---|---|
author | William M. Brack <wbrack@src.gnome.org> | Fri Dec 17 22:50:53 2004 +0000 |
committer | William M. Brack <wbrack@src.gnome.org> | Fri Dec 17 22:50:53 2004 +0000 |
tree | 3c3df8728bfa709097953d3abbcf8b463d2726f9 | |
parent | 5a9c1fdd407b9771bac3dec266645603828e4fa4 [diff] [blame] |
modified to allow the ns and nsDefs accessors to return None instead of * python/generator.py: modified to allow the ns and nsDefs accessors to return None instead of error when no namespace is present (bug #)
diff --git a/python/generator.py b/python/generator.py index 6032065..6f5ee09 100755 --- a/python/generator.py +++ b/python/generator.py
@@ -735,6 +735,8 @@ "xmlHasProp": 1, "xmlHasNsProp": 1, "xmlDocSetRootElement": 1, + "xmlNodeGetNs": 1, + "xmlNodeGetNsDefs": 1, } reference_keepers = {