summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2006-04-04 15:03:23 +0200
committerMichael Vogt <michael.vogt@ubuntu.com>2006-04-04 15:03:23 +0200
commiteb706ccd2c2b6458777d26025ac7db1efd1c294c (patch)
treeaadce774a54dfc3587e9e0123cfd8b294d88f8b2
parent07a81be80123030941e9eacc7f3b78f73e9571f2 (diff)
downloadpython-apt-eb706ccd2c2b6458777d26025ac7db1efd1c294c.tar.gz
* give a proper parent for the dist-ugprade-fetcher error window
-rw-r--r--UpdateManager/DistUpgradeFetcher.py12
1 files changed, 8 insertions, 4 deletions
diff --git a/UpdateManager/DistUpgradeFetcher.py b/UpdateManager/DistUpgradeFetcher.py
index 131fd28e..c4c42e8e 100644
--- a/UpdateManager/DistUpgradeFetcher.py
+++ b/UpdateManager/DistUpgradeFetcher.py
@@ -196,24 +196,28 @@ class DistUpgradeFetcher(object):
if not self.showReleaseNotes():
return
if not self.fetchDistUpgrader():
- error(_("Failed to fetch"),
+ error(self.parent,
+ _("Failed to fetch"),
_("Fetching the upgrade failed. There may be a network "
"problem. "))
return
if not self.extractDistUpgrader():
- error(_("Failed to extract"),
+ error(self.parent,
+ _("Failed to extract"),
_("Extracting the upgrade failed. There may be a problem "
"with the network or with the server. "))
return
if not self.verifyDistUprader():
- error(_("Verfication failed"),
+ error(self.parent,
+ _("Verfication failed"),
_("Verfing the upgrade failed. There may be a problem "
"with the network or with the server. "))
self.cleanup()
return
if not self.authenticate():
- error(_("Authentication failed"),
+ error(self.parent,
+ _("Authentication failed"),
_("Authenticating the upgrade failed. There may be a problem "
"with the network or with the server. "))
self.cleanup()