Mailinglist Archive: yast-commit (1771 mails)

< Previous Next >
[yast-commit] <rest-service> network : Revert "service.rb - catch exceptions"
  • From: Ladislav Slezak <lslezak@xxxxxxxxxx>
  • Date: Mon, 24 Aug 2009 17:18:49 +0200
  • Message-id: <E1MiTqK-0006d0-QQ@xxxxxxxxxxxxxxxx>
ref: refs/heads/network
commit c45379325b4148f790ab11cb75730435fbadb48e
Author: Ladislav Slezak <lslezak@xxxxxxxxxx>
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@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages