mirror of
https://gerrit.googlesource.com/git-repo
synced 2024-12-21 07:16:21 +00:00
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 <vapier@google.com> Tested-by: David Pursehouse <dpursehouse@collab.net>
This commit is contained in:
parent
949bc34267
commit
aa611a2ca2
@ -571,7 +571,7 @@ later is required to fix a server side protocol bug.
|
|||||||
for project in projects:
|
for project in projects:
|
||||||
# Make sure pruning never kicks in with shared projects.
|
# Make sure pruning never kicks in with shared projects.
|
||||||
if (not project.use_git_worktrees and
|
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.' %
|
print('%s: Shared project %s found, disabling pruning.' %
|
||||||
(project.relpath, project.name))
|
(project.relpath, project.name))
|
||||||
if git_require((2, 7, 0)):
|
if git_require((2, 7, 0)):
|
||||||
@ -665,8 +665,8 @@ later is required to fix a server side protocol bug.
|
|||||||
revisionId=None,
|
revisionId=None,
|
||||||
groups=None)
|
groups=None)
|
||||||
if not project.DeleteWorktree(
|
if not project.DeleteWorktree(
|
||||||
quiet=opt.quiet,
|
quiet=opt.quiet,
|
||||||
force=opt.force_remove_dirty):
|
force=opt.force_remove_dirty):
|
||||||
return 1
|
return 1
|
||||||
|
|
||||||
new_project_paths.sort()
|
new_project_paths.sort()
|
||||||
|
Loading…
Reference in New Issue
Block a user