diff options
Diffstat (limited to 'giscanner')
-rw-r--r-- | giscanner/girparser.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/giscanner/girparser.py b/giscanner/girparser.py index d258069a..76dc5afb 100644 --- a/giscanner/girparser.py +++ b/giscanner/girparser.py @@ -489,7 +489,7 @@ class GIRParser(object): lenidx = typenode.attrib.get('length') if lenidx is not None: idx = int(lenidx) - assert idx < len(siblings), "%r %d >= %d" % (parent, idx, len(siblings)) + assert idx < len(siblings), "%r %d >= %d" % (siblings, idx, len(siblings)) if isinstance(siblings[idx], ast.Field): typeval.length_param_name = siblings[idx].name else: |