diff options
Diffstat (limited to 'giscanner/introspectablepass.py')
-rw-r--r-- | giscanner/introspectablepass.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/giscanner/introspectablepass.py b/giscanner/introspectablepass.py index 77a0e4f7..97ccfe71 100644 --- a/giscanner/introspectablepass.py +++ b/giscanner/introspectablepass.py @@ -58,7 +58,7 @@ class IntrospectablePass(object): else: context = "return value: " if block: - return_tag = block.get(TAG_RETURNS) + return_tag = block.get_tag(TAG_RETURNS) if return_tag: position = return_tag.position message.warn_node(parent, prefix + context + text, |