Skip to content

Commit

Permalink
gi.require_version raises ValueError
Browse files Browse the repository at this point in the history
Catch it in the exception handler.
  • Loading branch information
bcl committed Jul 29, 2015
1 parent 67e186a commit 2472682
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyanaconda/exception.py
Expand Up @@ -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():
Expand Down

0 comments on commit 2472682

Please sign in to comment.