Entropy:
- 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:
@@ -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 '
|
||||
|
||||
Reference in New Issue
Block a user