[SQL-CVS] r4142 - SQLObject/trunk/sqlobject
SQLObject is a Python ORM.
Brought to you by:
ianbicking,
phd
From: <sub...@co...> - 2010-03-22 15:56:50
|
Author: phd Date: 2010-03-22 09:56:43 -0600 (Mon, 22 Mar 2010) New Revision: 4142 Modified: SQLObject/trunk/sqlobject/dbconnection.py Log: Merged a bugfix from revision 4140 from branch 0.11 - only remove quotes. Modified: SQLObject/trunk/sqlobject/dbconnection.py =================================================================== --- SQLObject/trunk/sqlobject/dbconnection.py 2010-03-22 15:56:03 UTC (rev 4141) +++ SQLObject/trunk/sqlobject/dbconnection.py 2010-03-22 15:56:43 UTC (rev 4142) @@ -38,7 +38,7 @@ try: text = text.encode(self.dbEncoding) except UnicodeEncodeError: - text = repr(text)[2:-1] + text = repr(text)[1:-1] logfile.write(text + '\n') class LogWriter: |