~vorlon/ubuntu/raring/gobject-introspection/python3

« back to all changes in this revision

Viewing changes to giscanner/girparser.py

  • Committer: Steve Langasek
  • Date: 2012-12-20 01:51:08 UTC
  • Revision ID: vorlon@debian.org-20121220015108-fn6sk9v2sy0xzdla
Further fixes; we're now able to build GObject-2.0.gir.

Show diffs side-by-side

added added

removed removed

Lines of Context:
443
443
                return ast.List(name, element_type, ctype=ctype)
444
444
            elif name == 'GLib.HashTable':
445
445
                subchildren = self._find_children(typenode, _corens('type'))
446
 
                subchildren_types = map(self._parse_type_simple, subchildren)
 
446
                subchildren_types = list(map(self._parse_type_simple, subchildren))
447
447
                while len(subchildren_types) < 2:
448
448
                    subchildren_types.append(ast.TYPE_ANY)
449
449
                return ast.Map(subchildren_types[0],