[gobject-introspection] Fix parameter ordering in error message
- From: Owen Taylor <otaylor src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gobject-introspection] Fix parameter ordering in error message
- Date: Fri, 7 May 2010 18:09:16 +0000 (UTC)
commit 6c0e72df7c6c30f81e54ea8e7f375cc27ae0c1ef
Author: Owen W. Taylor <otaylor fishsoup net>
Date: Fri May 7 14:08:22 2010 -0400
Fix parameter ordering in error message
The function name and parameter name were backwards when warning
about bad parameter references.
giscanner/annotationparser.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/giscanner/annotationparser.py b/giscanner/annotationparser.py
index 3a8aa8e..19a5b35 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]