typo: fix assertion error message in vregistry.py stable
authorAdrien Di Mascio <Adrien.DiMascio@logilab.fr>
Tue, 09 Jun 2009 21:29:38 +0200
branchstable
changeset 2078 362703bff3d4
parent 2077 50beca829273
child 2079 aff0950c54c4
typo: fix assertion error message in vregistry.py
vregistry.py
--- a/vregistry.py	Tue Jun 09 18:46:20 2009 +0200
+++ b/vregistry.py	Tue Jun 09 21:29:38 2009 +0200
@@ -216,7 +216,7 @@
         # registered() is technically a classmethod but is not declared
         # as such because we need to compose registered in some cases
         vobject = obj.registered.im_func(obj, self)
-        assert not vobject in vobjects, vobject, \
+        assert not vobject in vobjects, \
                'object %s is already registered' % vobject
         assert callable(vobject.__select__), vobject
         vobjects.append(vobject)