diff options
author | Johan Dahlin <johan@src.gnome.org> | 2009-01-11 22:41:31 +0000 |
---|---|---|
committer | Johan Dahlin <johan@src.gnome.org> | 2009-01-11 22:41:31 +0000 |
commit | 8ec1e3a52040a226110c04c3bf17ec190812e95b (patch) | |
tree | be1a1dfa0c35c5f9f506e9cc11fa81564b280c01 /giscanner/xmlwriter.py | |
parent | ba4ee2e606545ac703941698aa25e6d865e6976f (diff) | |
download | gobject-introspection-8ec1e3a52040a226110c04c3bf17ec190812e95b.tar.gz |
commit annotation parse patch
svn path=/branches/annotation/; revision=1008
Diffstat (limited to 'giscanner/xmlwriter.py')
-rw-r--r-- | giscanner/xmlwriter.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/giscanner/xmlwriter.py b/giscanner/xmlwriter.py index 6fd03f44..bed3f991 100644 --- a/giscanner/xmlwriter.py +++ b/giscanner/xmlwriter.py @@ -82,6 +82,7 @@ class XMLWriter(object): self._indent_char = ' ' # Private + def _open_tag(self, tag_name, attributes=None): attrs = collect_attributes( tag_name, attributes, self._indent, @@ -93,6 +94,7 @@ class XMLWriter(object): self.write_line('</%s>' % (tag_name, )) # Public API + def get_xml(self): return self._data.getvalue() |