Skip to content

Commit 1f32e6b

Browse files
Merge branch 'master' of github.com:allmightyspiff/softlayer-python
2 parents 50a8e23 + f00592d commit 1f32e6b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

SoftLayer/CLI/hardware/detail.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def cli(env, identifier, passwords, price, components):
3636
operating_system = utils.lookup(result, 'operatingSystem', 'softwareLicense', 'softwareDescription') or {}
3737
memory = formatting.gb(result.get('memoryCapacity', 0))
3838
owner = None
39-
if utils.lookup(result, 'billingItem') != []:
39+
if utils.lookup(result, 'billingItem'):
4040
owner = utils.lookup(result, 'billingItem', 'orderItem', 'order', 'userRecord', 'username')
4141

4242
table_hard_drives = formatting.Table(['Name', 'Capacity', 'Serial #'])

0 commit comments

Comments
 (0)