Query.__str__ calls nonexisting method, raises AttributeError
Issue #1066
resolved
Printing Query object raises: <type 'exceptions.AttributeError'>: 'Query' object has no attribute 'compile'.
Log says that in r4775 Query.compile method got removed, but Query.str() still calls it (at least in trunk r4826).
I guess that change self.compile() to self.statement should to do the job.
- andrija@gmail.com
Comments (5)
-
Account Deleted -
repo owner - changed milestone to 0.5.0
-
Account Deleted - attached querystr.diff
Patch and unit test.
-
repo owner - changed status to resolved
-
repo owner - removed milestone
Removing milestone: 0.5.0 (automated comment)
- Log in to comment
With patch:
–AlexB