fixed 1779:Query class __str__ method should cast non string values, thanks Alan
This commit is contained in:
@@ -1 +1 @@
|
||||
Version 2.7.4-stable+timestamp.2013.11.18.15.36.55
|
||||
Version 2.7.4-stable+timestamp.2013.11.18.15.40.40
|
||||
|
||||
+1
-1
@@ -10037,7 +10037,7 @@ class Query(object):
|
||||
return '<Query %s>' % BaseAdapter.expand(self.db._adapter,self)
|
||||
|
||||
def __str__(self):
|
||||
return self.db._adapter.expand(self)
|
||||
return str(self.db._adapter.expand(self))
|
||||
|
||||
def __and__(self, other):
|
||||
return Query(self.db,self.db._adapter.AND,self,other)
|
||||
|
||||
Reference in New Issue
Block a user