[PATCH] Correctly report an error if OSError is hit when setting up the source (#947634).
Chris Lumens
clumens at redhat.com
Wed Apr 3 14:32:52 UTC 2013
---
pyanaconda/ui/gui/spokes/source.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pyanaconda/ui/gui/spokes/source.py b/pyanaconda/ui/gui/spokes/source.py
index f7a2103..0a47679 100644
--- a/pyanaconda/ui/gui/spokes/source.py
+++ b/pyanaconda/ui/gui/spokes/source.py
@@ -416,7 +416,7 @@ class SourceSpoke(NormalSpoke):
time.sleep(1)
try:
self.payload.updateBaseRepo(fallback=False, checkmount=False)
- except PayloadError as e:
+ except (OSError, PayloadError) as e:
log.error("PayloadError: %s" % (e,))
self._error = True
hubQ.send_message(self.__class__.__name__, _("Failed to set up installation source"))
--
1.8.1.2
More information about the anaconda-patches
mailing list