[firstboot] Do not catch exceptions from system-config-date (#737882)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



---
 modules/date.py |   11 ++++-------
 1 files changed, 4 insertions(+), 7 deletions(-)

diff --git a/modules/date.py b/modules/date.py
index 2ce83d9..05601f2 100644
--- a/modules/date.py
+++ b/modules/date.py
@@ -46,13 +46,10 @@ class moduleClass(Module):
         if testing:
             return RESULT_SUCCESS
 
-        try:
-            rc = self.scd.firstboot_apply()
-            if rc == 0 and self.scd.closeParent:
-                return RESULT_SUCCESS
-            else:
-                return RESULT_FAILURE
-        except:
+        rc = self.scd.firstboot_apply()
+        if rc == 0 and self.scd.closeParent:
+            return RESULT_SUCCESS
+        else:
             return RESULT_FAILURE
 
     def createScreen(self):
-- 
1.7.3.2

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux