diff options
author | Matt Wilson <msw@redhat.com> | 2001-03-22 21:05:36 +0000 |
---|---|---|
committer | Matt Wilson <msw@redhat.com> | 2001-03-22 21:05:36 +0000 |
commit | fd89d63b9ef6226300f0fe64a1ae8a7037c966c6 (patch) | |
tree | c3e75e32a2cc1804f822c07da2f027f13c3dd5e8 /todo.py | |
parent | 4b109b05fec7e11cd4cf644c2453875451578e39 (diff) | |
download | anaconda-fd89d63b9ef6226300f0fe64a1ae8a7037c966c6.tar.gz anaconda-fd89d63b9ef6226300f0fe64a1ae8a7037c966c6.tar.xz anaconda-fd89d63b9ef6226300f0fe64a1ae8a7037c966c6.zip |
don't traceback if we don't happen to have a package that causes dependency problems on upgrade (package on the system has the problem, not the package to be upgraded
Diffstat (limited to 'todo.py')
-rw-r--r-- | todo.py | 20 |
1 files changed, 16 insertions, 4 deletions
@@ -1113,23 +1113,35 @@ class ToDo: if deps: for (who, dep) in deps: if dep != _("no suggestion"): - self.hdList[dep].select () + try: + self.hdList[dep].select () + except KeyError: + pass def unselectDeps (self, deps): if deps: for (who, dep) in deps: if dep != _("no suggestion"): - self.hdList[dep].unselect () + try: + self.hdList[dep].unselect () + except KeyError: + pass def selectDepCause (self, deps): if deps: for (who, dep) in deps: - self.hdList[who].select () + try: + self.hdList[who].select () + except KeyError: + pass def unselectDepCause (self, deps): if deps: for (who, dep) in deps: - self.hdList[who].unselect () + try: + self.hdList[who].unselect () + except KeyError: + pass def canResolveDeps (self, deps): canresolve = 0 |