From: Jay Freeman (saurik) Date: Wed, 23 Nov 2011 03:38:25 +0000 (+0000) Subject: Add back hstore. X-Git-Url: https://git.saurik.com/cyql.git/commitdiff_plain/9187878c2ceed9178a22be98dcee664f851e6f5d Add back hstore. --- diff --git a/__init__.py b/__init__.py index 41fec9d..9dc57b3 100644 --- a/__init__.py +++ b/__init__.py @@ -35,10 +35,10 @@ class connect(object): 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()