Skip to content

Commit

Permalink
Rubocop fix: Style/TrailingWhitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
lslezak committed Apr 20, 2017
1 parent 22d6f65 commit 926c9a2
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/clients/xpram.rb
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ def main
# Finish
Builtins.y2milestone("--------- Xpram module finished ---------")

deep_copy(@ret)
deep_copy(@ret)

# EOF
end
Expand Down
4 changes: 2 additions & 2 deletions src/include/s390/dasd/dialogs.rb
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ def PerformAction(action)
DASDController.ActivateDisk(channel, diag)
end
end
end
end
DASDController.ProbeDisks

return true
Expand Down Expand Up @@ -527,7 +527,7 @@ def DASDDialog
ret = Ops.get_symbol(event, "ID")

if ret == :select_all

UI.ChangeWidget(Id(:table), :SelectedItems,
UI.QueryWidget(Id(:table), :Items).map { | item | item[0][0] })
ret = nil
Expand Down
2 changes: 1 addition & 1 deletion src/include/s390/iucvterminal-server/helps.rb
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ def initialize_s390_iucvterminal_server_helps(include_target)
_(
"<p>It is possible to sync the users manually by clicking on <b>Sync</b> or just confirming the changes with <b>Ok</b> while <b>IUCVConn on Login</b> is enabled. </p>"
)
}
}
# EOF
end
end
Expand Down
2 changes: 1 addition & 1 deletion src/include/s390/xpram/ui.rb
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ def XpRAMDialog
# });
UI.ChangeWidget(Id(:m_points), :Enabled, start)
UI.ChangeWidget(Id(:brate), :Enabled, start)
end
end
# if (ret == `test)
# {
# TestPopup (mountpoint);
Expand Down
2 changes: 1 addition & 1 deletion src/modules/DASDController.rb
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ def Write
message = Builtins.sformat(_("There are %1 unformatted devices. Format them now?"), unformatted_devices.size)
end
if Popup.ContinueCancel( message )
unformatted_devices.each do | device |
unformatted_devices.each do | device |
to_format << device
to_reactivate << device
end
Expand Down
4 changes: 2 additions & 2 deletions test/zfcp_controller_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

# Removing all fcp devices from blacklist
expect(Yast::SCR).to receive(:Execute).with(anything, /\/sbin\/vmcp q v fcp/).and_return(
"exit" => 0,
"exit" => 0,
"stdout" => "FCP F800 ON FCP F807 CHPID 1C SUBCHANNEL = 000B\n F800 TOKEN = 0000000362A42C00")
expect(Yast::SCR).to receive(:Execute).with(anything, /\/sbin\/cio_ignore -r f800/).and_return(0)

Expand All @@ -41,7 +41,7 @@
{"controller_id" => "0.0.fc00"},
{"controller_id" => "0.0.f800"},
{"controller_id" => "0.0.f900"}]}

expect(Yast::ZFCPController.Import(import_data)).to eq(true)
expect(Yast::ZFCPController.GetDeviceIndex("0.0.f800","","")).to eq(2)
end
Expand Down

0 comments on commit 926c9a2

Please sign in to comment.