Skip to content

Commit bac3d75

Browse files
committed
addressing inline disable at the specific line
1 parent 12f8085 commit bac3d75

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

src/migrate/azext_migrate/helpers/replication/get/_execute_get.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ def _print_protected_item_details(item): # pylint: disable=too-many-nested-bloc
239239

240240
# Fabric specific properties
241241
fabric_specific = custom_props.get('fabricSpecificDetails', {})
242-
if fabric_specific:
242+
if fabric_specific: # pylint: disable=too-many-nested-blocks
243243
print("\n [ Fabric Specific Details ]")
244244
for key, value in fabric_specific.items():
245245
# Format key name for display

src/migrate/azext_migrate/helpers/replication/remove/_execute_delete.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -186,8 +186,8 @@ def execute_removal(cmd, subscription_id, target_object_id,
186186
display_removal_success(
187187
protected_item_name, job_name, resource_group_name)
188188
return None
189-
else:
190-
# No job name available
191-
log_removal_success(protected_item_name)
192-
display_removal_initiated(protected_item_name)
193-
return None
189+
190+
# No job name available
191+
log_removal_success(protected_item_name)
192+
display_removal_initiated(protected_item_name)
193+
return None

0 commit comments

Comments
 (0)