# HG changeset patch # User Adrien Di Mascio # Date 1234912967 -3600 # Node ID d22baa02cbaaf16b77df3b208cd5bf741d0b2cab # Parent 4153a82a60a4927f9c24a2dfccbc07e46160936e __select__ is not a classmethod anymore, it's a pure function (or a Selector instance), we have to pass the class explicitly diff -r 4153a82a60a4 -r d22baa02cbaa vregistry.py --- 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: