Skip to content

Commit d045f0f

Browse files
committed
updated number of updates in the command account event-detail
1 parent 358add9 commit d045f0f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

SoftLayer/CLI/account/event_detail.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,9 @@ def update_table(event):
6565
"""Formats a basic event update table"""
6666
update_number = 0
6767
for update in event.get('updates', []):
68+
update_number = update_number + 1
6869
header = "======= Update #%s on %s =======" % (update_number, utils.clean_time(update.get('startDate')))
6970
click.secho(header, fg='green')
70-
update_number = update_number + 1
7171
text = update.get('contents')
7272
# deals with all the \r\n from the API
7373
click.secho(utils.clean_splitlines(text))

0 commit comments

Comments
 (0)