Skip to content

Commit 1f807ad

Browse files
caberoscaberos
authored andcommitted
fix the tox tool
1 parent a0de1b9 commit 1f807ad

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

SoftLayer/CLI/firewall/monitoring.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@ def cli(env, identifier):
2525

2626
end = datetime.date.today()
2727
start = end.replace(day=1)
28-
lastMonth = start - datetime.timedelta(days=30)
28+
last_month = start - datetime.timedelta(days=30)
2929

3030
monitoring = mgr.get_summary(_firewall['metricTrackingObject']['id'],
31-
lastMonth.strftime('%Y-%m-%d'), end.strftime('%Y-%m-%d'))
31+
last_month.strftime('%Y-%m-%d'), end.strftime('%Y-%m-%d'))
3232
public_out = 0
3333
public_in = 0
3434
for monitor in monitoring:
@@ -41,7 +41,7 @@ def cli(env, identifier):
4141

4242
table.add_row(['Id', _firewall.get('id')])
4343
table.add_row(['Name', _firewall['networkGateway']['name']])
44-
table.add_row(['Stard Date', lastMonth.strftime('%Y-%m-%d')])
44+
table.add_row(['Stard Date', last_month.strftime('%Y-%m-%d')])
4545
table.add_row(['End Date', end.strftime('%Y-%m-%d')])
4646
table.add_row(['Out', public_out])
4747
table.add_row(['In', public_in])

0 commit comments

Comments
 (0)