summaryrefslogtreecommitdiff
path: root/DistUpgrade
diff options
context:
space:
mode:
Diffstat (limited to 'DistUpgrade')
-rw-r--r--DistUpgrade/DistUpgradeControler.py9
-rw-r--r--DistUpgrade/DistUpgradeViewGtk.py1
2 files changed, 10 insertions, 0 deletions
diff --git a/DistUpgrade/DistUpgradeControler.py b/DistUpgrade/DistUpgradeControler.py
index d7c1c84c..e67009cf 100644
--- a/DistUpgrade/DistUpgradeControler.py
+++ b/DistUpgrade/DistUpgradeControler.py
@@ -211,6 +211,15 @@ class DistUpgradeControler(object):
changes, 0):
fprogress = self._view.getFetchProgress()
iprogress = self._view.getInstallProgress()
+ try:
+ res = self.cache.commit(fprogress,iprogress)
+ except (SystemError, IOError), e:
+ self._view.error(_("Error during commit"),
+ _("Some problem occured during the clean-up. "
+ "Please see the below message for more "
+ "information. ",
+ "%s" % e)
+
self.cache.commit(fprogress,iprogress)
def askForReboot(self):
diff --git a/DistUpgrade/DistUpgradeViewGtk.py b/DistUpgrade/DistUpgradeViewGtk.py
index 4b4b0761..55f1f6fd 100644
--- a/DistUpgrade/DistUpgradeViewGtk.py
+++ b/DistUpgrade/DistUpgradeViewGtk.py
@@ -150,6 +150,7 @@ class GtkInstallProgressAdapter(InstallProgress):
dialog.run()
dialog.destroy()
def conffile(self, current, new):
+ self.expander.set_expanded=True
pass
def fork(self):
pid = self.term.forkpty(envv=self.env)