From 437364739954d8281ad199e2fa0a9fd57ad8c344 Mon Sep 17 00:00:00 2001
From: necoro <>
Date: Wed, 6 Dec 2006 22:33:49 +0000
Subject: added handling of masked packages during an update-world; small
changes in gentoolkit-code
---
portato/gui/gtk/windows.py | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
(limited to 'portato/gui')
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
--
cgit v1.2.3-54-g00ecf
tr>
Portato - A Portage GUI | René 'Necoro' Neumann |
| Commit message (Expand) | Author | Files | Lines |