summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornecoro <>2007-04-26 17:05:28 +0000
committernecoro <>2007-04-26 17:05:28 +0000
commite1b8aae4e2e08e7b2b2cf76a33b98975136ede63 (patch)
treefa829a911e69569b48edb9b6f5076ca9f7261374
parent54d06b4ce46db4a76308cec27b3c7439295065d5 (diff)
downloadportato-e1b8aae4e2e08e7b2b2cf76a33b98975136ede63.tar.gz
portato-e1b8aae4e2e08e7b2b2cf76a33b98975136ede63.tar.bz2
portato-e1b8aae4e2e08e7b2b2cf76a33b98975136ede63.zip
fixed bugs
-rw-r--r--portato/gui/gui_helper.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/portato/gui/gui_helper.py b/portato/gui/gui_helper.py
index a898ea7..377b554 100644
--- a/portato/gui/gui_helper.py
+++ b/portato/gui/gui_helper.py
@@ -411,7 +411,7 @@ class EmergeQueue:
deps = pkg.get_dep_packages()
if update:
- if not forceUpdate and deps == self.deps[cpv]:
+ if not forceUpdate and cpv in self.deps and deps == self.deps[cpv]:
return # nothing changed - return
else:
hasBeenInQueue = (cpv in self.mergequeue or cpv in self.oneshotmerge)
@@ -588,7 +588,7 @@ class EmergeQueue:
if not force: opts += system.get_pretend_option()
if options is not None: opts += options
- self._emerge(options, ["world"], [self.emergeIt])
+ self._emerge(opts, ["world"], [self.emergeIt])
def sync (self, command = None):
"""Calls "emerge --sync".