Skip to content

Commit

Permalink
Fixed Style/EmptyLineBetweenDefs
Browse files Browse the repository at this point in the history
  • Loading branch information
lslezak committed Jun 9, 2016
1 parent 6ce458c commit ab5835d
Show file tree
Hide file tree
Showing 11 changed files with 14 additions and 0 deletions.
1 change: 1 addition & 0 deletions library/cwm/src/modules/CWM.rb
Original file line number Diff line number Diff line change
Expand Up @@ -302,6 +302,7 @@ def GetLowestTimeout(widgets)
end
minimum
end

# Add fallback functions to a widget
# global only because of testsuites
# @param [Array<Hash{String => Object>}] widgets a list of widget desctiption maps
Expand Down
1 change: 1 addition & 0 deletions library/cwm/src/modules/CWMTable.rb
Original file line number Diff line number Diff line change
Expand Up @@ -308,6 +308,7 @@ def EnableTable(descr)

nil
end

# Wrapper for TableInit using CWM::GetProcessedWidget () for getting
# widget description map
# @param [String] key any widget key
Expand Down
1 change: 1 addition & 0 deletions library/general/src/modules/Arch.rb
Original file line number Diff line number Diff line change
Expand Up @@ -264,6 +264,7 @@ def board_compatible
end
@_board_compatible
end

# true for all PPC "MacRISC" boards
def board_mac
ppc &&
Expand Down
1 change: 1 addition & 0 deletions library/general/src/modules/Linuxrc.rb
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ def braille
def vnc
InstallInf("VNC") == "1"
end

# remote X mode ?
def display_ip
!InstallInf("Display_IP").nil?
Expand Down
2 changes: 2 additions & 0 deletions library/general/src/modules/Report.rb
Original file line number Diff line number Diff line change
Expand Up @@ -277,6 +277,7 @@ def Export
}
}
end

# Clear stored yes/no messages
# @return [void]
def ClearYesNoMessages
Expand Down Expand Up @@ -626,6 +627,7 @@ def LogYesNoMessages(log)

nil
end

# Set messages logging to .y2log file
# @param [Boolean] log if log is true then messages will be logged
# @return [void]
Expand Down
1 change: 1 addition & 0 deletions library/general/src/modules/ValueBrowser.rb
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,7 @@ def DebugBrowseHelper(variable, indent)

nil
end

# Write contents of variable to log file.
# @param [Object] variable variable to show.
def DebugBrowse(variable)
Expand Down
1 change: 1 addition & 0 deletions library/network/src/lib/network/susefirewall2.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2655,6 +2655,7 @@ def ConvertToServicesDefinedByPackages

nil
end

# Local function allows ports for requested protocol and zone.
#
# @param list <string> ports to be added
Expand Down
1 change: 1 addition & 0 deletions library/network/src/lib/network/susefirewalld.rb
Original file line number Diff line number Diff line change
Expand Up @@ -556,6 +556,7 @@ def AddInterfaceIntoZone(interface, zone)

nil
end

# Function returns list of known interfaces in requested zone.
# In the firewalld case, we don't support the special 'any' string.
# Thus, interfaces not in a zone will not be included.
Expand Down
1 change: 1 addition & 0 deletions library/network/src/modules/CWMFirewallInterfaces.rb
Original file line number Diff line number Diff line change
Expand Up @@ -989,6 +989,7 @@ def OpenFirewallWidgetExists
UI.WidgetExists(Id("_cwm_open_firewall")) &&
UI.WidgetExists(Id("_cwm_firewall_details"))
end

# Get the template for the help text to the firewall opening widget
# @param [Boolean] restart_displayed shold be true if "Save and restart" is displayed
# @return [String] help text template with %1 and %2 placeholders
Expand Down
1 change: 1 addition & 0 deletions library/network/src/modules/NetworkService.rb
Original file line number Diff line number Diff line change
Expand Up @@ -316,6 +316,7 @@ def isNetworkv4Running
return false
end
end

# test for IPv6
def isNetworkv6Running
net = Convert.to_integer(
Expand Down
3 changes: 3 additions & 0 deletions library/wizard/src/modules/Progress.rb
Original file line number Diff line number Diff line change
Expand Up @@ -706,6 +706,7 @@ def NextStage

nil
end

# Changes progress bar value to st.
# @param [Fixnum] st new value
def Step(st)
Expand Down Expand Up @@ -856,6 +857,7 @@ def OpenSuperior(title, stages)

nil
end

# Replaces stages of superior progress by an empty help text.
def CloseSuperior
if UI.HasSpecialWidget(:Wizard)
Expand All @@ -868,6 +870,7 @@ def CloseSuperior

nil
end

# Make one step in a superior progress bar.
def StepSuperior
if Ops.greater_or_equal(@super_step, 0) &&
Expand Down

0 comments on commit ab5835d

Please sign in to comment.