branch | tls-sprint |
changeset 686 | 6a1f4210ee4c |
parent 682 | d95936d6ce5c |
child 693 | cf0817dfc787 |
--- a/vregistry.py Tue Feb 17 18:17:51 2009 +0100 +++ b/vregistry.py Tue Feb 17 20:32:01 2009 +0100 @@ -105,6 +105,8 @@ "can't be used together") if '__select__' not in classdict and '__selectors__' in classdict: selectors = classdict['__selectors__'] + if not isinstance(selectors, (tuple, list)): + selectors = (selectors,) if len(selectors) > 1: classdict['__select__'] = classmethod(chainall(*selectors)) else: