projects
/
gnome.gobject-introspection
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
48b8fe5
)
Send in an empty list instead of None.
author
Johan Dahlin
<jdahlin@litl.com>
Fri, 20 Feb 2009 12:50:01 +0000
(09:50 -0300)
committer
Johan Dahlin
<johan@gnome.org>
Fri, 20 Feb 2009 12:50:01 +0000
(09:50 -0300)
giscanner/xmlwriter.py
patch
|
blob
|
history
diff --git
a/giscanner/xmlwriter.py
b/giscanner/xmlwriter.py
index
3c14162
..
9f222e9
100644
(file)
--- a/
giscanner/xmlwriter.py
+++ b/
giscanner/xmlwriter.py
@@
-120,6
+120,8
@@
class XMLWriter(object):
self.write_line(prefix + attrs + suffix)
def push_tag(self, tag_name, attributes=None):
+ if attributes is None:
+ attributes = []
self._open_tag(tag_name, attributes)
self._tag_stack.append(tag_name)
self._indent += self._indent_unit