Skip to content

Commit 1f0bf76

Browse files
Merge pull request #1609 from edsonarios/issue1608
updated number of updates in the command account event-detail
2 parents 358add9 + d045f0f commit 1f0bf76

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

SoftLayer/CLI/account/event_detail.py

+1-1
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)