vregistry.py
branchstable
changeset 6386 af296184efd6
parent 6347 ef47a2100c66
child 6401 d7f5d873e1b8
child 6661 1719137de7da
--- a/vregistry.py	Fri Oct 01 18:49:47 2010 +0200
+++ b/vregistry.py	Mon Oct 04 15:55:55 2010 +0200
@@ -228,8 +228,8 @@
             msg = 'select ambiguity: %s\n(args: %s, kwargs: %s)'
             if self.config.debugmode or self.config.mode == 'test':
                 # raise bare exception in debug mode
-                raise Exception(msg % (winners, self.args, self.kwargs.keys()))
-            self.error(msg, winners, self.args, self.kwargs.keys())
+                raise Exception(msg % (winners, args, kwargs.keys()))
+            self.error(msg, winners, args, kwargs.keys())
         # return the result of calling the appobject
         return winners[0](*args, **kwargs)