changeset 3 | 1fe6c30f7700 |
parent 2 | efee419b7a2d |
child 4 | 80634cb1c65b |
--- a/pgtools/pgmanager.py Mon Jul 18 17:39:37 2011 +0200 +++ b/pgtools/pgmanager.py Tue Jul 19 14:36:33 2011 +0200 @@ -103,13 +103,13 @@ try: return super(Cursor, self).execute(query, args) finally: - log.debug(self.query) + log.debug(self.query.decode('utf8')) def callproc(self, procname, args=None): try: return super(Cursor, self).callproc(procname, args) finally: - log.debug(self.query) + log.debug(self.query.decode('utf8')) def row_dict(self, row, lstrip=None): adjustname = lambda a: a