Skip to content

Commit 5829dfc

Browse files
authored
Update ordering.py
updated the snake_case style of naming convention.
1 parent 5bd6256 commit 5829dfc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

SoftLayer/managers/ordering.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -387,8 +387,8 @@ def get_price_id_list(self, package_keyname, item_keynames, core=None):
387387
# Need to find the item in the package that has a matching
388388
# keyName with the current item we are searching for
389389
for i in items:
390-
referenceCode = utils.lookup(i, 'softwareDescription', 'referenceCode')
391-
if i['keyName'] == item_keyname or referenceCode == item_keyname:
390+
reference_code = utils.lookup(i, 'softwareDescription', 'referenceCode')
391+
if i['keyName'] == item_keyname or reference_code == item_keyname:
392392
matching_item.append(i)
393393

394394
if len(matching_item) == 0:

0 commit comments

Comments
 (0)