I forgot to fix rundependencies behavior

git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@367 cd1c1023-2f26-0410-ae45-c471fc1f0318
This commit is contained in:
lxnay
2007-08-01 08:56:40 +00:00
parent 15202064a7
commit bf4e7587d1
+7 -1
View File
@@ -1062,11 +1062,17 @@ class etpDatabase:
# rundependencies, a list
for rdep in etpData['rundependencies']:
idrdep = self.isDependencyAvailable(rdep)
if (idrdep == -1):
# create category
idrdep = self.addDependency(rdep)
self.cursor.execute(
'INSERT into rundependencies VALUES '
'(?,?)'
, ( idpackage,
rdep,
idrdep,
)
)