[gobject-introspection] [scanner] Clarify exception message
- From: Johan Dahlin <johan src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gobject-introspection] [scanner] Clarify exception message
- Date: Mon, 6 Sep 2010 20:08:03 +0000 (UTC)
commit 6a572204efa10e4e85d6e932b213c8a677183614
Author: Johan Dahlin <johan gnome org>
Date: Mon Sep 6 17:02:00 2010 -0300
[scanner] Clarify exception message
giscanner/ast.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/giscanner/ast.py b/giscanner/ast.py
index 551dbb1..b03d43f 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]