fix method decorator for default attribute access

This commit is contained in:
Helmut Merz 2011-12-01 08:39:54 +01:00
parent add1a31bae
commit ab20786f34

View file

@ -49,7 +49,7 @@ class Row(BaseRow):
def getRawValue(self, attr):
return self.attributeHandlers.get(attr, Row.getContextAttr)(self, attr)
@classmethod
@staticmethod
def getContextAttr(obj, attr):
return getattr(obj.context, attr)