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:
26c66df
)
[scanner] Clarify exception message
author
Johan Dahlin
<johan@gnome.org>
Mon, 6 Sep 2010 20:02:00 +0000
(17:02 -0300)
committer
Johan Dahlin
<johan@gnome.org>
Mon, 6 Sep 2010 20:02:00 +0000
(17:02 -0300)
giscanner/ast.py
patch
|
blob
|
history
diff --git
a/giscanner/ast.py
b/giscanner/ast.py
index 551dbb1594419b243ce8bcd91a7b4083673247bc..b03d43f9c399be406f4954c286b71d2419813490 100644
(file)
--- a/
giscanner/ast.py
+++ b/
giscanner/ast.py
@@
-352,7
+352,7
@@
returned."""
previous = self._names.get(node.name)
if previous is not None:
if not replace:
- raise ValueError("Namespace conflict
"
)
+ raise ValueError("Namespace conflict
: %r" % (node, )
)
self.remove(previous)
# A layering violation...but oh well.
from .glibast import GLibBoxed