From 42339d7e52d6de6c702b78be7f5014e13646cc1b Mon Sep 17 00:00:00 2001 From: David Pursehouse Date: Wed, 12 Feb 2020 14:37:15 +0900 Subject: 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 Reviewed-by: Mike Frysinger --- subcmds/download.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'subcmds/download.py') 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. continue if len(dl.commits) > 1: - print('[%s] %d/%d depends on %d unmerged changes:' \ + print('[%s] %d/%d depends on %d unmerged changes:' % (project.name, change_id, ps_id, len(dl.commits)), file=sys.stderr) for c in dl.commits: @@ -102,7 +102,7 @@ If no project is specified try to use current directory as a project. try: project._CherryPick(dl.commit) except GitError: - print('[%s] Could not complete the cherry-pick of %s' \ + print('[%s] Could not complete the cherry-pick of %s' % (project.name, dl.commit), file=sys.stderr) sys.exit(1) -- cgit v1.2.3-54-g00ecf