diff options
author | David Pursehouse <dpursehouse@collab.net> | 2020-02-12 14:37:15 +0900 |
---|---|---|
committer | David Pursehouse <dpursehouse@collab.net> | 2020-02-12 05:45:44 +0000 |
commit | 42339d7e52d6de6c702b78be7f5014e13646cc1b (patch) | |
tree | 9272869b641a6f8cacf8380a3958b5cd6ba49b8d /subcmds/download.py | |
parent | 03ae99290af9bf702657671ea992a918a4e737fa (diff) | |
download | git-repo-42339d7e52d6de6c702b78be7f5014e13646cc1b.tar.gz |
Remove redundant backslashes
fleka8 reports:
E502 the backslash is redundant between brackets
Fixed automatically with autopep8:
git-repo $ git ls-files | grep py$ | xargs autopep8 --in-place --select E502
Change-Id: I1486ae1d17206918474363daf518274c5be8daed
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/254602
Tested-by: David Pursehouse <dpursehouse@collab.net>
Reviewed-by: Mike Frysinger <vapier@google.com>
Diffstat (limited to 'subcmds/download.py')
-rw-r--r-- | subcmds/download.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/subcmds/download.py b/subcmds/download.py index f746bc23..fbd302aa 100644 --- a/subcmds/download.py +++ b/subcmds/download.py | |||
@@ -93,7 +93,7 @@ If no project is specified try to use current directory as a project. | |||
93 | continue | 93 | continue |
94 | 94 | ||
95 | if len(dl.commits) > 1: | 95 | if len(dl.commits) > 1: |
96 | print('[%s] %d/%d depends on %d unmerged changes:' \ | 96 | print('[%s] %d/%d depends on %d unmerged changes:' |
97 | % (project.name, change_id, ps_id, len(dl.commits)), | 97 | % (project.name, change_id, ps_id, len(dl.commits)), |
98 | file=sys.stderr) | 98 | file=sys.stderr) |
99 | for c in dl.commits: | 99 | for c in dl.commits: |
@@ -102,7 +102,7 @@ If no project is specified try to use current directory as a project. | |||
102 | try: | 102 | try: |
103 | project._CherryPick(dl.commit) | 103 | project._CherryPick(dl.commit) |
104 | except GitError: | 104 | except GitError: |
105 | print('[%s] Could not complete the cherry-pick of %s' \ | 105 | print('[%s] Could not complete the cherry-pick of %s' |
106 | % (project.name, dl.commit), file=sys.stderr) | 106 | % (project.name, dl.commit), file=sys.stderr) |
107 | sys.exit(1) | 107 | sys.exit(1) |
108 | 108 | ||