diff options
author | David Pursehouse <dpursehouse@collab.net> | 2020-02-12 13:56:59 +0900 |
---|---|---|
committer | David Pursehouse <dpursehouse@collab.net> | 2020-02-12 05:17:08 +0000 |
commit | e5913ae41058ddd7f692e9cc18e5f71b8251bd60 (patch) | |
tree | 94f099a0290d28da431ceaefa68ab00c6ac90b8d /git_command.py | |
parent | 119085e6b180b513f7976f91fe56ead11a125d4b (diff) | |
download | git-repo-e5913ae41058ddd7f692e9cc18e5f71b8251bd60.tar.gz |
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>
Diffstat (limited to 'git_command.py')
-rw-r--r-- | git_command.py | 26 |
1 files changed, 13 insertions, 13 deletions
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): | |||
208 | def __init__(self, | 208 | def __init__(self, |
209 | project, | 209 | project, |
210 | cmdv, | 210 | cmdv, |
211 | bare = False, | 211 | bare=False, |
212 | provide_stdin = False, | 212 | provide_stdin=False, |
213 | capture_stdout = False, | 213 | capture_stdout=False, |
214 | capture_stderr = False, | 214 | capture_stderr=False, |
215 | disable_editor = False, | 215 | disable_editor=False, |
216 | ssh_proxy = False, | 216 | ssh_proxy=False, |
217 | cwd = None, | 217 | cwd=None, |
218 | gitdir = None): | 218 | gitdir=None): |
219 | env = self._GetBasicEnv() | 219 | env = self._GetBasicEnv() |
220 | 220 | ||
221 | # If we are not capturing std* then need to print it. | 221 | # If we are not capturing std* then need to print it. |
@@ -295,11 +295,11 @@ class GitCommand(object): | |||
295 | 295 | ||
296 | try: | 296 | try: |
297 | p = subprocess.Popen(command, | 297 | p = subprocess.Popen(command, |
298 | cwd = cwd, | 298 | cwd=cwd, |
299 | env = env, | 299 | env=env, |
300 | stdin = stdin, | 300 | stdin=stdin, |
301 | stdout = stdout, | 301 | stdout=stdout, |
302 | stderr = stderr) | 302 | stderr=stderr) |
303 | except Exception as e: | 303 | except Exception as e: |
304 | raise GitError('%s: %s' % (command[1], e)) | 304 | raise GitError('%s: %s' % (command[1], e)) |
305 | 305 | ||