vregistry.py
branchtls-sprint
changeset 735 d22baa02cbaa
parent 734 4153a82a60a4
child 736 18c940e3f98d
--- a/vregistry.py	Wed Feb 18 00:12:36 2009 +0100
+++ b/vregistry.py	Wed Feb 18 00:22:47 2009 +0100
@@ -296,7 +296,7 @@
         """
         score, winners = 0, []
         for vobject in vobjects:
-            vobjectscore = vobject.__select__(*args, **kwargs)
+            vobjectscore = vobject.__select__(vobject, *args, **kwargs)
             if vobjectscore > score:
                 score, winners = vobjectscore, [vobject]
             elif vobjectscore > 0 and vobjectscore == score: