don't ask me why previous condition didn't work

git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1295 cd1c1023-2f26-0410-ae45-c471fc1f0318
This commit is contained in:
(no author)
2008-02-25 14:16:13 +00:00
parent ffdf653391
commit aef6dbe308

View File

@@ -163,7 +163,6 @@ def update(options):
atomslot = dbconn.retrieveSlot(x[1])
add = True
tagfound = False
for pkgdata in toBeAdded:
addslot = getPackageSlot(pkgdata[0])
addkey = Entropy.entropyTools.dep_getkey(pkgdata[0])
@@ -176,7 +175,7 @@ def update(options):
break
if add:
dbtag = dbconn.retrieveVersionTag(x[1])
if dbtag:
if dbtag != '':
is_injected = dbconn.isInjected(x[1])
if not is_injected:
toBeInjected.add(x[1])
@@ -184,7 +183,7 @@ def update(options):
toBeRemoved.add(x[1])
else:
dbtag = dbconn.retrieveVersionTag(x[1])
if dbtag:
if dbtag != '':
is_injected = dbconn.isInjected(x[1])
if not is_injected:
toBeInjected.add(x[1])