diff options
| author | Michael Vogt <michael.vogt@ubuntu.com> | 2006-01-22 20:24:04 +0100 |
|---|---|---|
| committer | Michael Vogt <michael.vogt@ubuntu.com> | 2006-01-22 20:24:04 +0100 |
| commit | 37a3751442541410f61f08d60f61a16794edf5f5 (patch) | |
| tree | 140ae0dbb0db206317ae5ddf6a751a3a62b9c8a3 /DistUpgrade/DistUpgradeControler.py | |
| parent | 893f07d6e7919e11e1c3dc40fcc43c4bb38c2af3 (diff) | |
| download | python-apt-37a3751442541410f61f08d60f61a16794edf5f5.tar.gz | |
* Deal with install errors
Diffstat (limited to 'DistUpgrade/DistUpgradeControler.py')
| -rw-r--r-- | DistUpgrade/DistUpgradeControler.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/DistUpgrade/DistUpgradeControler.py b/DistUpgrade/DistUpgradeControler.py index efb93bcc..d7c1c84c 100644 --- a/DistUpgrade/DistUpgradeControler.py +++ b/DistUpgrade/DistUpgradeControler.py @@ -176,7 +176,7 @@ class DistUpgradeControler(object): iprogress = self._view.getInstallProgress() try: res = self.cache.commit(fprogress,iprogress) - except IOError, e: + except (SystemError, IOError), e: self._view.error(_("Error during commit"), _("Some problem occured during the upgrade. " "This is mostly a network problem, please " |
