branch | stable |
changeset 6850 | 2b9e58174327 |
parent 6427 | c8a5ac2d1eaa |
child 6882 | b5e34836f84e |
child 6889 | 37668bf302f5 |
--- a/server/sources/native.py Wed Jan 19 12:42:50 2011 +0100 +++ b/server/sources/native.py Wed Jan 19 18:01:28 2011 +0100 @@ -843,8 +843,8 @@ if self._eid_creation_cnx is None: self._eid_creation_cnx = self.get_connection() cnx = self._eid_creation_cnx - cursor = cnx.cursor() try: + cursor = cnx.cursor() for sql in self.dbhelper.sqls_increment_sequence('entities_id_seq'): cursor.execute(sql) eid = cursor.fetchone()[0]