summaryrefslogtreecommitdiff
path: root/DistUpgrade
diff options
context:
space:
mode:
Diffstat (limited to 'DistUpgrade')
-rw-r--r--DistUpgrade/DistUpgradeControler.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/DistUpgrade/DistUpgradeControler.py b/DistUpgrade/DistUpgradeControler.py
index d3403d49..135b93aa 100644
--- a/DistUpgrade/DistUpgradeControler.py
+++ b/DistUpgrade/DistUpgradeControler.py
@@ -270,7 +270,12 @@ class DistUpgradeControler(object):
def doUpdate(self):
self.cache._list.ReadMainList()
progress = self._view.getFetchProgress()
- self.cache.update(progress)
+ try:
+ self.cache.update(progress)
+ except IOError, e:
+ # FIXME: this can result in insanly big dialogs,
+ # need to elpise/cut e
+ self._view.error(_("Error during commit:"), e)
def askDistUpgrade(self):
try: