We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b8515da commit 172df2bCopy full SHA for 172df2b
1 file changed
SoftLayer/managers/network.py
@@ -134,8 +134,8 @@ def cancel_subnet(self, subnet_id):
134
"""
135
subnet = self.get_subnet(subnet_id, mask='id, billingItem.id')
136
if "billingItem" not in subnet:
137
- raise exceptions.SoftLayerError('Can not cancel '
138
- 'subnet %' % subnet_id)
+ raise exceptions.SoftLayerError('Can not cancel subnet %' %
+ subnet_id)
139
billing_id = subnet['billingItem']['id']
140
return self.client['Billing_Item'].cancelService(id=billing_id)
141
0 commit comments