Skip to content

Commit

Permalink
Happy rubocop
Browse files Browse the repository at this point in the history
  • Loading branch information
mchf committed Aug 9, 2016
1 parent 3406054 commit 086485b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/include/network/lan/hardware.rb
Expand Up @@ -792,13 +792,13 @@ def validate_hw(_key, _event)

ret = if UsedNicName(nm)
Popup.Error(
_("Configuration name %s already exists.\nChoose a different one." % nm)
format(_("Configuration name %s already exists.\nChoose a different one.", nm))
)

false
elsif !ValidNicName(nm)
Popup.Error(
_("Configuration name %s is invalid.\nChoose a different one." % nm)
format(_("Configuration name %s is invalid.\nChoose a different one.", nm))
)

false
Expand All @@ -808,7 +808,7 @@ def validate_hw(_key, _event)

UI.SetFocus(Id(:ifcfg_name)) if !ret

return ret
ret
end

VLAN_SIZE = 4 # size of vlanN prefix without number
Expand Down

0 comments on commit 086485b

Please sign in to comment.