[master 1/5] Running without a GUI can also raise ValueError in errors.py

bcl installerbot-noreply at redhat.com
Fri Jul 10 17:51:27 UTC 2015


From: "Brian C. Lane" <bcl at redhat.com>

---
 pyanaconda/errors.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pyanaconda/errors.py b/pyanaconda/errors.py
index d2c2975..fb478e3 100644
--- a/pyanaconda/errors.py
+++ b/pyanaconda/errors.py
@@ -42,7 +42,7 @@
 
     # If we don't do the check above this import will fail within _isys
     from pyanaconda.ui.gui.utils import escape_markup
-except (RuntimeError, ImportError):
+except (RuntimeError, ImportError, ValueError):
     escape_markup = lambda x: x
 
 class InvalidImageSizeError(Exception):


-- 
To view this commit on github, visit https://github.com/rhinstaller/anaconda/commit/54e73521d922c23dfc2bc03916f99a6b4d8d4c3a


More information about the anaconda-patches mailing list