Skip to content

Commit 5dc7e95

Browse files
author
caberos
committed
fix the last Christopher code review comments
1 parent 7f410f6 commit 5dc7e95

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

SoftLayer/CLI/account/orders.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
@click.command()
1313
@click.option('--limit', '-l',
14-
help='How many results to get in one api call, default is 100',
14+
help='How many results to get in one api call',
1515
default=100,
1616
show_default=True)
1717
@environment.pass_env
@@ -22,7 +22,6 @@ def cli(env, limit):
2222

2323
order_table = formatting.Table(['Id', 'State', 'User', 'Date', 'Amount', 'Item'],
2424
title="orders")
25-
order_table.sortby = 'Amount'
2625
order_table.align = 'l'
2726

2827
for order in orders:

SoftLayer/managers/account.py

-1
Original file line numberDiff line numberDiff line change
@@ -247,6 +247,5 @@ def get_account_all_billing_orders(self, limit=100, mask=None):
247247
initialInvoice[id,amount,invoiceTotalAmount],
248248
items[description]
249249
"""
250-
print(limit)
251250
return self.client.call('Billing_Order', 'getAllObjects',
252251
limit=limit, mask=mask)

0 commit comments

Comments
 (0)