[master 2/3] gi.require_version raises ValueError
bcl
installerbot-noreply at redhat.com
Wed Jul 29 23:05:49 UTC 2015
From: "Brian C. Lane" <bcl at redhat.com>
Catch it in the exception handler.
---
pyanaconda/exception.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pyanaconda/exception.py b/pyanaconda/exception.py
index bda8879..e698b42 100644
--- a/pyanaconda/exception.py
+++ b/pyanaconda/exception.py
@@ -133,7 +133,7 @@ def handleException(self, dump_info):
"exception handler in it")
self._main_loop_handleException(dump_info)
- except (RuntimeError, ImportError):
+ except (RuntimeError, ImportError, ValueError):
log.debug("Gtk cannot be initialized")
# X not running (Gtk cannot be initialized)
if threadMgr.in_main_thread():
--
To view this commit on github, visit https://github.com/rhinstaller/anaconda/commit/247268202e29a662f9ed0a9fbed9ec50a8681104
More information about the anaconda-patches
mailing list