From 717be6d97095d5f0641d8d1ef74947dc75b3f204 Mon Sep 17 00:00:00 2001 From: Dieter Verfaillie Date: Thu, 5 Sep 2013 17:50:46 +0200 Subject: giscanner: write '' instead of '' --- giscanner/girwriter.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'giscanner/girwriter.py') diff --git a/giscanner/girwriter.py b/giscanner/girwriter.py index 2bc9f153..2f3d59cc 100644 --- a/giscanner/girwriter.py +++ b/giscanner/girwriter.py @@ -294,8 +294,7 @@ class GIRWriter(XMLWriter): elif ntype.ctype: attrs.append(('c:type', ntype.ctype)) if isinstance(ntype, ast.Varargs): - with self.tagcontext('varargs', []): - pass + self.write_tag('varargs', []) elif isinstance(ntype, ast.Array): if ntype.array_type != ast.Array.C: attrs.insert(0, ('name', ntype.array_type)) -- cgit v1.2.1