From aa611a2ca284333521624f7095c9cff42278a4b9 Mon Sep 17 00:00:00 2001 From: David Pursehouse Date: Thu, 20 Feb 2020 10:47:26 +0900 Subject: [PATCH] sync: Fix flake8 E125 and E129 warnings - E129 visually indented line with same indent as next logical line - E125 continuation line with same indent as next logical line Fixed automatically by: autopep8 --in-place --select E125,E129 subcmds/sync.py Change-Id: Ia2f82f443e1e6a23ba22c6f9849c8485405aed0e Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/256092 Reviewed-by: Mike Frysinger Tested-by: David Pursehouse --- subcmds/sync.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/subcmds/sync.py b/subcmds/sync.py index f2af0ec3..e2bc1d17 100644 --- a/subcmds/sync.py +++ b/subcmds/sync.py @@ -571,7 +571,7 @@ later is required to fix a server side protocol bug. for project in projects: # Make sure pruning never kicks in with shared projects. if (not project.use_git_worktrees and - len(project.manifest.GetProjectsWithName(project.name)) > 1): + len(project.manifest.GetProjectsWithName(project.name)) > 1): print('%s: Shared project %s found, disabling pruning.' % (project.relpath, project.name)) if git_require((2, 7, 0)): @@ -665,8 +665,8 @@ later is required to fix a server side protocol bug. revisionId=None, groups=None) if not project.DeleteWorktree( - quiet=opt.quiet, - force=opt.force_remove_dirty): + quiet=opt.quiet, + force=opt.force_remove_dirty): return 1 new_project_paths.sort()