Skip to content

Commit 3076cbf

Browse files
Merge pull request #1703 from edsonarios/issue1701
Option create-options in commands hardware and dedicatedhost fixed
2 parents a3af3c5 + 59fd14d commit 3076cbf

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

SoftLayer/CLI/dedicatedhost/create_options.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,4 +58,4 @@ def cli(env, **kwargs):
5858
br_table.add_row([router['hostname']])
5959
tables.append(br_table)
6060

61-
env.fout(formatting.listing(tables, separator='\n'))
61+
env.fout(tables)

SoftLayer/CLI/hardware/create_options.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,7 @@ def cli(env, prices, location=None):
5151
tables.append(_port_speed_prices_table(options['port_speeds'], prices))
5252
tables.append(_extras_prices_table(options['extras'], prices))
5353
tables.append(_get_routers(routers))
54-
55-
# since this is multiple tables, this is required for a valid JSON object to be rendered.
56-
env.fout(formatting.listing(tables, separator='\n'))
54+
env.fout(tables)
5755

5856

5957
def _preset_prices_table(sizes, prices=False):

0 commit comments

Comments
 (0)