Skip to content

Commit fbed4c2

Browse files
caberoscaberos
authored andcommitted
fix team code review comments
1 parent 7813c79 commit fbed4c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

SoftLayer/CLI/virt/detail.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ def cli(env, identifier, passwords=False, price=False):
7070
table.add_row(['created', result['createDate']])
7171
table.add_row(['modified', result['modifyDate']])
7272
last_transaction = ''
73-
if result.get('lastTransaction') != []:
73+
if result.get('lastTransaction'):
7474
last_transaction = "{} ({})".format(utils.lookup(result, 'lastTransaction', 'transactionGroup', 'name'),
7575
utils.clean_time(utils.lookup(result, 'lastTransaction', 'modifyDate')))
7676

0 commit comments

Comments
 (0)