Skip to content

Commit ed587b5

Browse files
Merge pull request #2120 from allmightyspiff/master
v6.1.11 updates
2 parents b4510c0 + 72ba37d commit ed587b5

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
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 #'])

SoftLayer/consts.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
:license: MIT, see LICENSE for more details.
77
"""
8-
VERSION = 'v6.1.10'
8+
VERSION = 'v6.1.11'
99
API_PUBLIC_ENDPOINT = 'https://api.softlayer.com/xmlrpc/v3.1/'
1010
API_PRIVATE_ENDPOINT = 'https://api.service.softlayer.com/xmlrpc/v3.1/'
1111
API_PUBLIC_ENDPOINT_REST = 'https://api.softlayer.com/rest/v3.1/'

SoftLayer/utils.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ def resolve_ids(identifier, resolvers):
273273
"""
274274

275275
# Before doing anything, let's see if this is an integer
276-
if type(identifier) == int:
276+
if isinstance(identifier, int):
277277
return [int(identifier)]
278278
# It was worth a shot
279279

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
setup(
1717
name='SoftLayer',
18-
version='v6.1.10',
18+
version='v6.1.11',
1919
description=DESCRIPTION,
2020
long_description=LONG_DESCRIPTION,
2121
long_description_content_type='text/x-rst',

0 commit comments

Comments
 (0)