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 <dpursehouse@collab.net>
Reviewed-by: Mike Frysinger <vapier@google.com>
diff --git a/git_command.py b/git_command.py
index 4868ccd..34efda7 100644
--- a/git_command.py
+++ b/git_command.py
@@ -208,14 +208,14 @@
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 @@
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))