Skip to content

Commit 9ef4e7f

Browse files
committed
removed commented code
1 parent d4e3866 commit 9ef4e7f

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

SoftLayer/managers/network.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -148,15 +148,9 @@ def add_subnet(self, subnet_type, quantity=None, endpoint_id=None, version=4,
148148
# item description.
149149
price_id = None
150150
quantity_str = str(quantity)
151-
# package_items = package.getItems(id=0, mask='itemCategory')
152151
package_items = package.getItems(id=0)
153152
for item in package_items:
154153
category_code = utils.lookup(item, 'itemCategory', 'categoryCode')
155-
# if (category_code == category
156-
# and item.get('capacity') == quantity_str
157-
# and (version == 4 or (version == 6 and desc in item['description']))):
158-
# price_id = item['prices'][0]['id']
159-
# break
160154
if all([category_code == category,
161155
item.get('capacity') == quantity_str,
162156
version == 4 or (version == 6 and

0 commit comments

Comments
 (0)