fix SQL commit transaction

git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@411 cd1c1023-2f26-0410-ae45-c471fc1f0318
This commit is contained in:
lxnay
2007-08-07 19:33:47 +00:00
parent 0efeb5f56f
commit 57a4d29016
2 changed files with 12 additions and 3 deletions
+2 -2
View File
@@ -1155,7 +1155,7 @@ def generateRemovalTree(atoms):
#print mydepends
for depend in depends:
if depend in treeview:
print "changed"
#print "changed"
change = True
try:
while 1:
@@ -1994,7 +1994,7 @@ def openClientDatabase():
conn = etpDatabase(readOnly = False, dbFile = etpConst['etpdatabaseclientfilepath'], clientDatabase = True)
return conn
else:
return -1
raise Exception,"openClientDatabase: installed packages database not found. At this stage, the only way to have it is to run 'equo database generate'."
########################################################