From e5913ae41058ddd7f692e9cc18e5f71b8251bd60 Mon Sep 17 00:00:00 2001 From: David Pursehouse Date: Wed, 12 Feb 2020 13:56:59 +0900 Subject: Fix flake8 E251 unexpected spaces around keyword / parameter equals Fixed automatically with autopep8: git ls-files | grep py$ | xargs autopep8 --in-place --select E251 Change-Id: I58009e1c8c91c39745d559ac919be331d4cd9e77 Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/254598 Tested-by: David Pursehouse Reviewed-by: Mike Frysinger --- subcmds/cherry_pick.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'subcmds/cherry_pick.py') diff --git a/subcmds/cherry_pick.py b/subcmds/cherry_pick.py index a541a040..bd396fab 100644 --- a/subcmds/cherry_pick.py +++ b/subcmds/cherry_pick.py @@ -46,8 +46,8 @@ change id will be added. p = GitCommand(None, ['rev-parse', '--verify', reference], - capture_stdout = True, - capture_stderr = True) + capture_stdout=True, + capture_stderr=True) if p.Wait() != 0: print(p.stderr, file=sys.stderr) sys.exit(1) @@ -61,8 +61,8 @@ change id will be added. p = GitCommand(None, ['cherry-pick', sha1], - capture_stdout = True, - capture_stderr = True) + capture_stdout=True, + capture_stderr=True) status = p.Wait() print(p.stdout, file=sys.stdout) @@ -74,9 +74,9 @@ change id will be added. new_msg = self._Reformat(old_msg, sha1) p = GitCommand(None, ['commit', '--amend', '-F', '-'], - provide_stdin = True, - capture_stdout = True, - capture_stderr = True) + provide_stdin=True, + capture_stdout=True, + capture_stderr=True) p.stdin.write(new_msg) p.stdin.close() if p.Wait() != 0: -- cgit v1.2.3-54-g00ecf