summaryrefslogtreecommitdiff
path: root/giscanner/girwriter.py
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2008-08-21 00:45:14 +0000
committerColin Walters <walters@src.gnome.org>2008-08-21 00:45:14 +0000
commitd698969ef23bc74cc3086a9925d6b23815e00d6b (patch)
treed75acb5e7f7b86c9fe9b22694547523d84afc801 /giscanner/girwriter.py
parentb486f2fe1f1dc00457932010106f370f33d8bdfa (diff)
downloadgobject-introspection-d698969ef23bc74cc3086a9925d6b23815e00d6b.tar.gz
Adjust for added shared-library. Make pylint happy.
2008-08-20 Colin Walters <walters@verbum.org> * tests/scanner/*-expected.gir: Adjust for added shared-library. * giscanner/giwriter.py: Make pylint happy. svn path=/trunk/; revision=428
Diffstat (limited to 'giscanner/girwriter.py')
-rw-r--r--giscanner/girwriter.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/giscanner/girwriter.py b/giscanner/girwriter.py
index 9b2a34e5..c9b7f3d5 100644
--- a/giscanner/girwriter.py
+++ b/giscanner/girwriter.py
@@ -46,7 +46,8 @@ class GIRWriter(XMLWriter):
self._write_namespace(namespace, shlib)
def _write_namespace(self, namespace, shlib):
- attrs = [('name', namespace.name),('shared-library', os.path.basename(shlib))]
+ attrs = [('name', namespace.name),
+ ('shared-library', os.path.basename(shlib))]
with self.tagcontext('namespace', attrs):
for node in namespace.nodes:
self._write_node(node)