Skip to content

Commit 884e7c9

Browse files
author
Brian Flores
committed
fix observations
1 parent 0df0e35 commit 884e7c9

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

SoftLayer/CLI/hardware/reflash_firmware.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,5 @@ def cli(env, identifier):
2323
'reflash device firmware. Continue?' % hw_id)):
2424
raise exceptions.CLIAbort('Aborted.')
2525

26-
success = mgr.reflash_firmware(hw_id)
27-
if success:
28-
message = 'Successfully device firmware reflashed'
29-
click.echo(message)
26+
if mgr.reflash_firmware(hw_id):
27+
click.echo('Successfully device firmware reflashed')

0 commit comments

Comments
 (0)