fixed issue with storing Row in session

This commit is contained in:
mdipierro committed 2012-10-15 19:39:25 -05:00
1 parent 647ac1f84b
commit 5623db50fa
2 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -1 +1 @@
Version 2.1.1 (2012-10-15 16:28:43) dev Version 2.1.1 (2012-10-15 19:39:19) dev
+2 -2
View File
@@ -6417,10 +6417,10 @@ class Row(object):
def __str__(self): def __str__(self):
### this could be made smarter ### this could be made smarter
return '<Row %s>' % self.__dict__ return '<Row %s>' % self.as_dict()
def __repr__(self): def __repr__(self):
return '<Row %s>' % self.__dict__ return '<Row %s>' % self.as_dict()
def __int__(self): def __int__(self):
return object.__getattribute__(self,'id') return object.__getattribute__(self,'id')