FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian ISP

 
 
LinkBack Thread Tools
 
Old 09-20-2011, 10:58 AM
Martin Gracik
 
Default Do not catch exceptions from system-config-date (#737882)

---
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@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 

Thread Tools




All times are GMT. The time now is 12:58 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org