branch | stable |
changeset 2928 | edfdb69df6e8 |
parent 2877 | e469f3602858 |
child 2931 | 17224e90a1c4 |
child 3000 | 4e76477949d5 |
--- a/entity.py Thu Aug 20 17:56:22 2009 +0200 +++ b/entity.py Thu Aug 20 17:56:41 2009 +0200 @@ -251,8 +251,8 @@ desttype = rschema.objects(eschema.type)[0] card = rschema.rproperty(eschema, desttype, 'cardinality')[0] if card not in '?1': - self.warning('bad relation %s specified in fetch attrs for %s', - attr, self.__class__) + cls.warning('bad relation %s specified in fetch attrs for %s', + attr, cls) selection.pop() restrictions.pop() continue