]> git.saurik.com Git - cyql.git/commitdiff
Add back hstore.
authorJay Freeman (saurik) <saurik@saurik.com>
Wed, 23 Nov 2011 03:38:25 +0000 (03:38 +0000)
committerJay Freeman (saurik) <saurik@saurik.com>
Wed, 23 Nov 2011 03:38:25 +0000 (03:38 +0000)
__init__.py

index 41fec9ddb18c4577ce6481859f6fd03ca03db467..9dc57b361c695ce098736d5582c0d00a47c0da13 100644 (file)
@@ -35,10 +35,10 @@ class connect(object):
         except:
             self.driver.close()
 
         except:
             self.driver.close()
 
-        #try:
-        #    psycopg2.extras.register_hstore(self.driver, globally=False, unicode=True)
-        #except ProgrammingError, e:
-        #    pass
+        try:
+            psycopg2.extras.register_hstore(self.driver, globally=False, unicode=True)
+        except ProgrammingError, e:
+            pass
 
     def close(self):
         self.driver.close()
 
     def close(self):
         self.driver.close()