This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "YaST web service".
The branch, master has been updated
via 973ccc426adc31ac5f582cfbf7eea1fe1884092c (commit)
from 3aadb5e35028de49edef92e6b155db4bedc2c7a7 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 973ccc426adc31ac5f582cfbf7eea1fe1884092c
Author: Klaus Kämpf
Date: Wed Jun 24 14:09:45 2009 +0200
'if not' -> 'unless'
-----------------------------------------------------------------------
Summary of changes and diff:
plugins/network/app/models/network.rb | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/plugins/network/app/models/network.rb b/plugins/network/app/models/network.rb
index e7e58a0..c893a2e 100644
--- a/plugins/network/app/models/network.rb
+++ b/plugins/network/app/models/network.rb
@@ -42,13 +42,13 @@ class Network
xml.device do
xml.tag!(:id, @id)
- xml.tag!(:name, @name) if !@name.nil?
- xml.tag!(:description, @description) if !@description.nil?
- xml.tag!(:mac, @mac) if !@mac.nil?
- xml.tag!(:dev_name, @dev_name) if !@dev_name.nil?
- xml.tag!(:startup, @startup) if !@startup.nil?
+ xml.tag!(:name, @name) unless @name.nil?
+ xml.tag!(:description, @description) unless @description.nil?
+ xml.tag!(:mac, @mac) unless @mac.nil?
+ xml.tag!(:dev_name, @dev_name) unless @dev_name.nil?
+ xml.tag!(:startup, @startup) unless @startup.nil?
- if !@parameters.blank?
+ unless @parameters.blank?
@parameters.each do |key,value|
xml.parameters {
xml.tag!(:name, key)
hooks/post-receive
--
YaST web service
--
To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org
For additional commands, e-mail: yast-commit+help@opensuse.org