]> git.saurik.com Git - cyql.git/commitdiff
Remove UNICODE override.
authorJay Freeman (saurik) <saurik@saurik.com>
Mon, 28 Nov 2011 12:30:47 +0000 (12:30 +0000)
committerJay Freeman (saurik) <saurik@saurik.com>
Mon, 28 Nov 2011 12:30:47 +0000 (12:30 +0000)
__init__.py

index 9fc8d31c388bea89919ee55c414d99311c962b24..2a4f7a529a5a35f3b3d447839d3b90fd884aa4f8 100644 (file)
@@ -29,11 +29,14 @@ class connect(object):
                     raise e
                 attempt = attempt + 1
 
-        try:
-            self.driver.set_client_encoding('UNICODE')
-            self.driver.autocommit = True
-        except:
-            self.driver.close()
+        self.driver.autocommit = True
+
+        # XXX: all of my databases default to this...
+        #try:
+        #    self.driver.set_client_encoding('UNICODE')
+        #except:
+        #    self.driver.close()
+        #    raise
 
         try:
             psycopg2.extras.register_hstore(self.driver, globally=False, unicode=True)