Skip to content

Commit b00f68b

Browse files
committed
1107 fixed tox analysis and python 3 support
1 parent 2e58734 commit b00f68b

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

SoftLayer/CLI/order/place.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ def cli(env, package_keyname, location, preset, verify, billing, complex_type,
7979
try:
8080
extras = json.loads(extras)
8181
except ValueError as err:
82-
raise exceptions.CLIAbort("There was an error when parsing the --extras value: {}".format(err.message))
82+
raise exceptions.CLIAbort("There was an error when parsing the --extras value: {}".format(err))
8383

8484
args = (package_keyname, location, order_items)
8585
kwargs = {'preset_keyname': preset,

SoftLayer/CLI/order/place_quote.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ def cli(env, package_keyname, location, preset, name, send_email, complex_type,
7272
try:
7373
extras = json.loads(extras)
7474
except ValueError as err:
75-
raise exceptions.CLIAbort("There was an error when parsing the --extras value: {}".format(err.message))
75+
raise exceptions.CLIAbort("There was an error when parsing the --extras value: {}".format(err))
7676

7777
args = (package_keyname, location, order_items)
7878
kwargs = {'preset_keyname': preset,

tests/CLI/modules/order_tests.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
"""
66
import json
77

8-
from SoftLayer import testing
98
from SoftLayer.CLI import exceptions
9+
from SoftLayer import testing
1010

1111

1212
class OrderTests(testing.TestCase):

0 commit comments

Comments
 (0)