- fixed sqlite IntegrityError trapping in etpDatabase.addPackage()
- third big commit for the Socket Interface, adding sessions management, changed protocol


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1509 cd1c1023-2f26-0410-ae45-c471fc1f0318
This commit is contained in:
(no author)
2008-03-25 08:33:54 +00:00
parent bb9b74e95c
commit 0efbc8ea27
3 changed files with 99 additions and 46 deletions
+1 -1
View File
@@ -884,7 +884,7 @@ class etpDatabase:
etpData['branch'],
)
)
except IntegrityError: # we have a PRIMARY KEY we need to remove
except dbapi2.IntegrityError: # we have a PRIMARY KEY we need to remove
self.migrateCountersTable()
self.cursor.execute(
'INSERT into counters VALUES '