diff options
author | Johan Dahlin <johan@gnome.org> | 2010-09-06 17:02:00 -0300 |
---|---|---|
committer | Johan Dahlin <johan@gnome.org> | 2010-09-06 17:02:00 -0300 |
commit | 6a572204efa10e4e85d6e932b213c8a677183614 (patch) | |
tree | 9a0ac6fd8db2dd9e57b54a82a26bdd48bcbd4237 | |
parent | 26c66df6bdc3e3ce836c7462958fa38cc3e1062f (diff) | |
download | gobject-introspection-6a572204efa10e4e85d6e932b213c8a677183614.tar.gz |
[scanner] Clarify exception message
-rw-r--r-- | giscanner/ast.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/giscanner/ast.py b/giscanner/ast.py index 551dbb15..b03d43f9 100644 --- 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 |