projects
/
platform
/
upstream
/
gobject-introspection.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
36c1996
)
Fix parameter ordering in error message
author
Owen W. Taylor
<otaylor@fishsoup.net>
Fri, 7 May 2010 18:08:22 +0000
(14:08 -0400)
committer
Owen W. Taylor
<otaylor@fishsoup.net>
Fri, 7 May 2010 18:08:22 +0000
(14:08 -0400)
The function name and parameter name were backwards when warning
about bad parameter references.
giscanner/annotationparser.py
patch
|
blob
|
history
diff --git
a/giscanner/annotationparser.py
b/giscanner/annotationparser.py
index
3a8aa8e
..
19a5b35
100644
(file)
--- 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