Skip to content

Commit 5c411a6

Browse files
committed
fix E131 and E501
1 parent 6581ed1 commit 5c411a6

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

SoftLayer/CLI/dedicatedhost/list_guests.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919
column_helper.Column('backend_ip', ('primaryBackendIpAddress',)),
2020
column_helper.Column(
2121
'created_by',
22-
lambda created_by: utils.lookup(created_by, 'billingItem', 'orderItem', 'order', 'userRecord', 'username'),
23-
mask='billingItem[id,orderItem[id,order[id,userRecord[username]]]]'),
22+
lambda created_by: utils.lookup(created_by, 'billingItem', 'orderItem', 'order', 'userRecord', 'username'),
23+
mask='billingItem[id,orderItem[id,order[id,userRecord[username]]]]'),
2424
column_helper.Column('power_state', ('powerState', 'name')),
2525
column_helper.Column(
2626
'tags',

SoftLayer/CLI/hardware/list.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@
2323
mask='activeTransaction[id, transactionStatus[name, friendlyName]]'),
2424
column_helper.Column(
2525
'created_by',
26-
lambda created_by: utils.lookup(created_by, 'billingItem', 'orderItem', 'order', 'userRecord', 'username'),
27-
mask='billingItem[id,orderItem[id,order[id,userRecord[username]]]]'),
26+
lambda created_by: utils.lookup(created_by, 'billingItem', 'orderItem', 'order', 'userRecord', 'username'),
27+
mask='billingItem[id,orderItem[id,order[id,userRecord[username]]]]'),
2828
column_helper.Column(
2929
'tags',
3030
lambda server: formatting.tags(server.get('tagReferences')),

SoftLayer/CLI/virt/list.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@
2121
column_helper.Column('action', lambda guest: formatting.active_txn(guest),
2222
mask='activeTransaction[id,transactionStatus[name,friendlyName]]'),
2323
column_helper.Column('power_state', ('powerState', 'name')),
24-
column_helper.Column('created_by', lambda created_by: utils.lookup(created_by, 'billingItem', 'orderItem', 'order', 'userRecord', 'username'),
24+
column_helper.Column('created_by',
25+
lambda created_by: utils.lookup(created_by, 'billingItem', 'orderItem', 'order', 'userRecord', 'username'),
2526
mask='billingItem[id,orderItem[id,order[id,userRecord[username]]]]'),
2627
column_helper.Column('tags', lambda server: formatting.tags(server.get('tagReferences')),
2728
mask="tagReferences.tag.name"),

0 commit comments

Comments
 (0)