author | Sylvain Thénault <sylvain.thenault@logilab.fr> |
Tue, 07 Jul 2009 13:15:46 +0200 | |
branch | stable |
changeset 2310 | 80fcdfbb8eed |
parent 2309 | d203060334e7 |
child 2311 | f178182b1305 |
--- a/server/sources/native.py Tue Jul 07 12:29:01 2009 +0200 +++ b/server/sources/native.py Tue Jul 07 13:15:46 2009 +0200 @@ -506,7 +506,7 @@ self._eid_creation_lock.acquire() try: for sql in self.dbhelper.sqls_increment_sequence('entities_id_seq'): - self.doexec(session, sql) + cursor = self.doexec(session, sql) return cursor.fetchone()[0] finally: self._eid_creation_lock.release()