fixed backward compatibility issue in dal with __int__, thanks Dominic
This commit is contained in:
@@ -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
@@ -6460,7 +6460,7 @@ class Row(object):
|
|||||||
return '<Row %s>' % self.__dict__
|
return '<Row %s>' % self.__dict__
|
||||||
|
|
||||||
def __int__(self):
|
def __int__(self):
|
||||||
return dict.__getitem__(self,'id')
|
return object.__getattribute__(self,'id')
|
||||||
|
|
||||||
def __eq__(self,other):
|
def __eq__(self,other):
|
||||||
try:
|
try:
|
||||||
|
|||||||
Reference in New Issue
Block a user