summaryrefslogtreecommitdiff
path: root/giscanner/xmlwriter.py
diff options
context:
space:
mode:
authorJohan Dahlin <johan@src.gnome.org>2009-01-11 22:41:31 +0000
committerJohan Dahlin <johan@src.gnome.org>2009-01-11 22:41:31 +0000
commit8ec1e3a52040a226110c04c3bf17ec190812e95b (patch)
treebe1a1dfa0c35c5f9f506e9cc11fa81564b280c01 /giscanner/xmlwriter.py
parentba4ee2e606545ac703941698aa25e6d865e6976f (diff)
downloadgobject-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.py2
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()