Skip to content

Commit

Permalink
code review fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
lslezak committed Mar 14, 2014
1 parent 26c175d commit a01cb6c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions src/clients/inst_scc.rb
Expand Up @@ -486,9 +486,6 @@ def addon_regkey_items(addons)

# create content for the addon reg keys dialog
def addon_regkeys_dialog_content(addons)
box1 = nil
box2 = nil

# display the second column if needed
if addons.size > MAX_REGCODES_PER_COLUMN
# display only the addons which fit two column layout
Expand Down
2 changes: 1 addition & 1 deletion src/clients/scc.rb
Expand Up @@ -31,7 +31,7 @@ class SccClient < Client
Yast.import "CommandLine"

def main
if WFM.Args == ["help"]
if WFM.Args.include? == ["help"]
cmdline_description = {
"id" => "scc",
# Command line help text for the repository module, %1 is "SUSEconnect"
Expand Down

0 comments on commit a01cb6c

Please sign in to comment.