[SQL-CVS] r4141 - SQLObject/branches/0.12/sqlobject
SQLObject is a Python ORM.
Brought to you by:
ianbicking,
phd
|
From: <sub...@co...> - 2010-03-22 15:56:10
|
Author: phd
Date: 2010-03-22 09:56:03 -0600 (Mon, 22 Mar 2010)
New Revision: 4141
Modified:
SQLObject/branches/0.12/sqlobject/dbconnection.py
Log:
Merged a bugfix from revision 4140 from branch 0.11 - only remove quotes.
Modified: SQLObject/branches/0.12/sqlobject/dbconnection.py
===================================================================
--- SQLObject/branches/0.12/sqlobject/dbconnection.py 2010-03-22 15:54:33 UTC (rev 4140)
+++ SQLObject/branches/0.12/sqlobject/dbconnection.py 2010-03-22 15:56:03 UTC (rev 4141)
@@ -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:
|