Author: phd
Date: 2009-12-30 18:35:47 -0700 (Wed, 30 Dec 2009)
New Revision: 4065
Modified:
SQLObject/branches/0.12/docs/News.txt
SQLObject/branches/0.12/sqlobject/postgres/pgconnection.py
Log:
Fixed a bug in PostgresConnection.
Modified: SQLObject/branches/0.12/docs/News.txt
===================================================================
--- SQLObject/branches/0.12/docs/News.txt 2009-12-31 01:26:42 UTC (rev 4064)
+++ SQLObject/branches/0.12/docs/News.txt 2009-12-31 01:35:47 UTC (rev 4065)
@@ -10,7 +10,7 @@
SQLObject 0.12.1
================
-* Fixed a bug in PostgresConnection.
+* Fixed two bugs in PostgresConnection.
* A change ported from `SQLObject 0.11.3`_.
Modified: SQLObject/branches/0.12/sqlobject/postgres/pgconnection.py
===================================================================
--- SQLObject/branches/0.12/sqlobject/postgres/pgconnection.py 2009-12-31 01:26:42 UTC (rev 4064)
+++ SQLObject/branches/0.12/sqlobject/postgres/pgconnection.py 2009-12-31 01:35:47 UTC (rev 4065)
@@ -99,7 +99,7 @@
self.unicodeCols = unicodeCols
self.schema = kw.pop('schema', None)
if "charset" in kw:
- self.dbEncoding = self.kw["charset"] = kw.pop("charset")
+ self.dbEncoding = kw.pop("charset")
else:
self.dbEncoding = None
DBAPI.__init__(self, **kw)
|