Skip to content

Commit e23440d

Browse files
committed
TOX issue resolution
1 parent d2ac1a6 commit e23440d

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

SoftLayer/CLI/block/snapshot/get_notify_status.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@ def cli(env, volume_id):
1414
block_manager = SoftLayer.BlockStorageManager(env.client)
1515
enabled = block_manager.get_volume_snapshot_notification_status(volume_id)
1616

17-
if (enabled == ''):
17+
if enabled == '':
1818
click.echo("""
1919
Enabled:Snapshots space usage warning flag is null. Set to default value enable. For volume %s
2020
""" % (volume_id))
21-
elif (enabled == 'True'):
21+
elif enabled == 'True':
2222
click.echo(
2323
'Enabled:Snapshots space usage threshold warning flag setting is enabled for volume %s'
2424
% (volume_id))

SoftLayer/CLI/file/snapshot/get_notify_status.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@ def cli(env, volume_id):
1515
file_manager = SoftLayer.FileStorageManager(env.client)
1616
enabled = file_manager.get_volume_snapshot_notification_status(volume_id)
1717

18-
if (enabled == ''):
18+
if enabled == '':
1919
click.echo(
2020
'Enabled:Snapshots space usage threshold warning flag is null. Set to default value enable. For volume %s'
2121
% (volume_id))
22-
elif (enabled == 'True'):
22+
elif enabled == 'True':
2323
click.echo(
2424
'Enabled:Snapshots space usage threshold warning flag setting is enabled for volume %s'
2525
% (volume_id))

0 commit comments

Comments
 (0)