ref: refs/heads/network
commit c45379325b4148f790ab11cb75730435fbadb48e
Author: Ladislav Slezak
Date: Mon Aug 24 15:34:24 2009 +0200
Revert "service.rb - catch exceptions"
This reverts commit 1a456b37d160ae603431cd56e1617330047e6a90.
---
plugins/services/app/models/service.rb | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/plugins/services/app/models/service.rb b/plugins/services/app/models/service.rb
index 7c5d72c..184ee0a 100644
--- a/plugins/services/app/models/service.rb
+++ b/plugins/services/app/models/service.rb
@@ -54,8 +54,7 @@ class Service
"runlevel" => [ "i", rl ],
"read_status" => [ "b", read_status]
}
-
- yapi_ret = YastService.Call("YaPI::SERVICES::Read", params) rescue nil
+ yapi_ret = YastService.Call("YaPI::SERVICES::Read", params)
if yapi_ret.nil?
raise "Can't get services list"
--
To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org
For additional commands, e-mail: yast-commit+help@opensuse.org