Skip to content

Commit

Permalink
improve code indendation
Browse files Browse the repository at this point in the history
  • Loading branch information
jreidinger committed Apr 8, 2013
1 parent d714707 commit 6ad6ef7
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/ruby/ycp/wfm.rb
Expand Up @@ -69,9 +69,12 @@ def self.run_client client
Builtins.y2milestone "Call client %1", client
code = File.read client
begin
return eval(code ,GLOBAL_WFM_CONTEXT.binding)
return eval(code, GLOBAL_WFM_CONTEXT.binding)
rescue Exception => e
Builtins.y2error "Client call failed with %1 and backtrace %2", e.message, e.backtrace
Builtins.y2error("Client call failed with %1 and backtrace %2",
e.message,
e.backtrace
)
return nil
end
end
Expand Down

0 comments on commit 6ad6ef7

Please sign in to comment.