- updated TODO

- fix etpDatabase.addPackage()

git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1558 cd1c1023-2f26-0410-ae45-c471fc1f0318
This commit is contained in:
lxnay
2008-04-04 13:55:40 +00:00
parent 3dc029ee50
commit 5d437be9aa
2 changed files with 22 additions and 20 deletions
+3 -3
View File
@@ -654,8 +654,8 @@ class etpDatabase:
if revision == -1:
try:
revision = etpData['revision']
except:
revision = int(etpData['revision'])
except (KeyError, ValueError):
etpData['revision'] = 0 # revision not specified
revision = 0
@@ -1007,7 +1007,7 @@ class etpDatabase:
# save
dumpTools.dumpobj(etpConst['rss-dump-name'],etpRSSMessages)
return idpackage, revision, etpData, True
return idpackage, revision, etpData
# Update already available atom in db
# returns True,revision if the package has been updated