fixed backward compatibility issue in dal with __int__, thanks Dominic

This commit is contained in:
mdipierro
2012-09-02 22:34:24 -05:00
parent 69bac57058
commit 0351f37e67
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1 +1 @@
Version 2.0.6 (2012-09-02 22:30:28) stable
Version 2.0.6 (2012-09-02 22:34:20) stable
+1 -1
View File
@@ -6460,7 +6460,7 @@ class Row(object):
return '<Row %s>' % self.__dict__
def __int__(self):
return dict.__getitem__(self,'id')
return object.__getattribute__(self,'id')
def __eq__(self,other):
try: