diff options
author | Jasper St. Pierre <jstpierre@mecheye.net> | 2013-03-27 17:33:52 -0400 |
---|---|---|
committer | Jasper St. Pierre <jstpierre@mecheye.net> | 2013-05-07 13:28:54 -0400 |
commit | a0185528a17378b6e6e7bc458f34b1f3719cc420 (patch) | |
tree | b9f8a5e0d0cfe9f5a989df30e9349d5d542eeea3 /giscanner/introspectablepass.py | |
parent | 97da62989712c1105198819c7a9481657d9d335b (diff) | |
download | gobject-introspection-a0185528a17378b6e6e7bc458f34b1f3719cc420.tar.gz |
annotationparser: Remove get_tag/get_param
They're useless if we can just access the dict directly.
https://bugzilla.gnome.org/show_bug.cgi?id=688897
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 460c8200..3e295391 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(TAG_RETURNS) + return_tag = block.tags.get(TAG_RETURNS) if return_tag: position = return_tag.position message.warn_node(parent, prefix + context + text, |