Skip to content

Commit 6125787

Browse files
committed
Fix flake8 W503 in migration state check
1 parent 51d2db5 commit 6125787

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

azure-devops/azext_devops/dev/migration/migration.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -298,8 +298,8 @@ def _is_migration_terminal(migration):
298298
def _is_validate_only_succeeded(migration):
299299
if not isinstance(migration, dict):
300300
return False
301-
return (migration.get('validateOnly') is True
302-
and _normalize_state(migration.get('status')) == 'succeeded')
301+
return (migration.get('validateOnly') is True and
302+
_normalize_state(migration.get('status')) == 'succeeded')
303303

304304

305305
def _promote_to_full_migration(migration_data, repository_id, organization):

0 commit comments

Comments
 (0)