diff --git a/src/clients/inst_scc.rb b/src/clients/inst_scc.rb index 2b7d68c49..00727d8e1 100644 --- a/src/clients/inst_scc.rb +++ b/src/clients/inst_scc.rb @@ -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 diff --git a/src/clients/scc.rb b/src/clients/scc.rb index 28cb12be1..0c98adb95 100644 --- a/src/clients/scc.rb +++ b/src/clients/scc.rb @@ -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"