[vreg] fix bad copy and paste introduced in 6347:ef47a2100c66 stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Mon, 04 Oct 2010 15:55:55 +0200
branchstable
changeset 6386 af296184efd6
parent 6385 9f91d09ee5fa
child 6392 faee4c380e50
[vreg] fix bad copy and paste introduced in 6347:ef47a2100c66
vregistry.py
--- 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)