diff options
author | Owen W. Taylor <otaylor@fishsoup.net> | 2010-05-07 14:08:22 -0400 |
---|---|---|
committer | Owen W. Taylor <otaylor@fishsoup.net> | 2010-05-07 14:08:22 -0400 |
commit | 6c0e72df7c6c30f81e54ea8e7f375cc27ae0c1ef (patch) | |
tree | 9def9346e323eaacb13e71c768b04bab1c250a03 /giscanner | |
parent | 36c1996038e41838697cea3a0d56d50dca664eb3 (diff) | |
download | gobject-introspection-6c0e72df7c6c30f81e54ea8e7f375cc27ae0c1ef.tar.gz |
Fix parameter ordering in error message
The function name and parameter name were backwards when warning
about bad parameter references.
Diffstat (limited to 'giscanner')
-rw-r--r-- | giscanner/annotationparser.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/giscanner/annotationparser.py b/giscanner/annotationparser.py index 3a8aa8e5..19a5b352 100644 --- a/giscanner/annotationparser.py +++ b/giscanner/annotationparser.py @@ -528,7 +528,7 @@ class AnnotationApplier(object): if index is None: raise InvalidAnnotationError( "can't find parameter %s referenced by parameter %s of %r" - % (param_name, parent.name, location_name)) + % (param_name, location_name, parent.name)) return index |