diff options
| author | Sebastian Heinlein <sebastian.heinlein@web.de> | 2006-01-23 23:04:37 +0100 |
|---|---|---|
| committer | Sebastian Heinlein <sebastian.heinlein@web.de> | 2006-01-23 23:04:37 +0100 |
| commit | 1db0d7b67f9fdec6d721637cadfca8c292efb35b (patch) | |
| tree | fc18b9294873f218484126c16407ab5000f1f1f1 /DistUpgrade/DistUpgradeControler.py | |
| parent | dfac943eddaebac9b9532acfd606fb3908e03bb8 (diff) | |
| parent | 4614765fb73d85f350f4f525a216386f01cbec0d (diff) | |
| download | python-apt-1db0d7b67f9fdec6d721637cadfca8c292efb35b.tar.gz | |
* Merged with Michael
Diffstat (limited to 'DistUpgrade/DistUpgradeControler.py')
| -rw-r--r-- | DistUpgrade/DistUpgradeControler.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/DistUpgrade/DistUpgradeControler.py b/DistUpgrade/DistUpgradeControler.py index b90224a2..e229a849 100644 --- a/DistUpgrade/DistUpgradeControler.py +++ b/DistUpgrade/DistUpgradeControler.py @@ -232,9 +232,6 @@ class DistUpgradeControler(object): "%s" % e) self.cache.commit(fprogress,iprogress) - def askForReboot(self): - return self._view.confirm_restart() - def abort(self): """ abort the upgrade, cleanup (as much as possible) """ self.sources.restoreBackup(self.sources_backup_ext) @@ -284,7 +281,7 @@ class DistUpgradeControler(object): # done, ask for reboot self._view.updateStatus(_("System upgrade is complete.")) - if self.askForReboot(): + if self._view.confirmRestart(): subprocess.call(["reboot"]) def run(self): |
