@@ -139,8 +139,8 @@ def deauthorize_host_to_volume(self, volume_id, hardware_ids=None, virtual_guest
139139 :return: Returns an array of SoftLayer_Network_Storage_Allowed_Host objects
140140 which have access to the given File volume
141141 """
142- host_templates = storage_utils .populate_host_templates (hardware_ids , virtual_guest_ids ,
143- ip_address_ids , subnet_ids )
142+ host_templates = storage_utils .populate_host_templates (hardware_ids , virtual_guest_ids ,
143+ ip_address_ids , subnet_ids )
144144
145145 return self .client .call ('Network_Storage' , 'removeAccessFromHostList' , host_templates , id = volume_id )
146146
@@ -182,8 +182,8 @@ def order_replicant_volume(self, volume_id, snapshot_schedule, location, tier=No
182182 storage_class = storage_utils .block_or_file (block_volume ['storageType' ]['keyName' ])
183183
184184 order = storage_utils .prepare_replicant_order_object (
185- self , snapshot_schedule , location , tier , block_volume , storage_class
186- )
185+ self , snapshot_schedule , location , tier , block_volume , storage_class
186+ )
187187
188188 if storage_class == 'block' :
189189 if os_type is None :
@@ -219,7 +219,6 @@ def order_duplicate_volume(self, origin_volume_id, origin_snapshot_id=None,
219219 origin_volume = self .get_volume_details (origin_volume_id , mask = block_mask )
220220 storage_class = storage_utils .block_or_file (origin_volume ['storageType' ]['keyName' ])
221221
222-
223222 order = storage_utils .prepare_duplicate_order_object (
224223 self , origin_volume , duplicate_iops , duplicate_tier_level ,
225224 duplicate_size , duplicate_snapshot_size , storage_class , hourly_billing_flag
@@ -238,7 +237,6 @@ def order_duplicate_volume(self, origin_volume_id, origin_snapshot_id=None,
238237
239238 return self .client .call ('Product_Order' , 'placeOrder' , order )
240239
241-
242240 def order_modified_volume (self , volume_id , new_size = None , new_iops = None , new_tier_level = None ):
243241 """Places an order for modifying an existing block volume.
244242
@@ -268,7 +266,6 @@ def order_modified_volume(self, volume_id, new_size=None, new_iops=None, new_tie
268266
269267 return self .client .call ('Product_Order' , 'placeOrder' , order )
270268
271-
272269 def delete_snapshot (self , snapshot_id ):
273270 """Deletes the specified snapshot object.
274271
@@ -297,7 +294,7 @@ def order_snapshot_space(self, volume_id, capacity, tier, upgrade, **kwargs):
297294 object_mask = 'id,billingItem[location,hourlyFlag],' \
298295 'storageType[keyName],storageTierLevel,provisionedIops,' \
299296 'staasVersion,hasEncryptionAtRest'
300- volume = self .get_volume_details (volume_id , mask = object_mask , ** kwargs )
297+ volume = self .get_volume_details (volume_id , mask = object_mask , ** kwargs )
301298
302299 order = storage_utils .prepare_snapshot_order_object (self , volume , capacity , tier , upgrade )
303300
0 commit comments