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 --- git_command.py | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'git_command.py') diff --git a/git_command.py b/git_command.py index 4868ccdf..34efda7d 100644 --- a/git_command.py +++ b/git_command.py @@ -208,14 +208,14 @@ class GitCommand(object): def __init__(self, project, cmdv, - bare = False, - provide_stdin = False, - capture_stdout = False, - capture_stderr = False, - disable_editor = False, - ssh_proxy = False, - cwd = None, - gitdir = None): + bare=False, + provide_stdin=False, + capture_stdout=False, + capture_stderr=False, + disable_editor=False, + ssh_proxy=False, + cwd=None, + gitdir=None): env = self._GetBasicEnv() # If we are not capturing std* then need to print it. @@ -295,11 +295,11 @@ class GitCommand(object): try: p = subprocess.Popen(command, - cwd = cwd, - env = env, - stdin = stdin, - stdout = stdout, - stderr = stderr) + cwd=cwd, + env=env, + stdin=stdin, + stdout=stdout, + stderr=stderr) except Exception as e: raise GitError('%s: %s' % (command[1], e)) -- cgit v1.2.3-54-g00ecf