diff options
Diffstat (limited to '')
-rw-r--r-- | portato/gui/gtk/windows.py | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/portato/gui/gtk/windows.py b/portato/gui/gtk/windows.py index 7e8e247..65a9f3f 100644 --- a/portato/gui/gtk/windows.py +++ b/portato/gui/gtk/windows.py @@ -779,8 +779,14 @@ class MainWindow (Window): debug("updating list:", [(x.get_cpv(), y.get_cpv()) for x,y in updating]) try: - for pkg, old_pkg in updating: - self.queue.append(pkg.get_cpv()) + try: + for pkg, old_pkg in updating: + self.queue.append(pkg.get_cpv(), unmask = False) + except PackageNotFoundException, e: + if unmask_dialog(e[0]) == gtk.RESPONSE_YES: + for pkg, old_pkg in updating: + self.queue.append(pkg.get_cpv(), unmask = True) + except BlockedException, e: blocked_dialog(e[0], e[1]) if len(updating): self.doUpdate = True |