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