summaryrefslogtreecommitdiff
path: root/patchwork/parser.py
diff options
context:
space:
mode:
authorStephen Finucane <stephen@that.guru>2018-10-26 10:34:34 +0100
committerStephen Finucane <stephen@that.guru>2018-10-26 10:42:01 +0100
commited2052cd7f4087774263159f85361c2e03b2c161 (patch)
tree1d872e12869b71a45770b356b24989fcf3d2268a /patchwork/parser.py
parent498a8eeaa6c9d1dca8ab29a845325cff1463e815 (diff)
downloadpatchwork-ed2052cd7f4087774263159f85361c2e03b2c161.tar
patchwork-ed2052cd7f4087774263159f85361c2e03b2c161.tar.gz
trivial: Use implicit string concatenation
While pycodestyle's W504 ("line break after binary operator") error was recently disabled, it did highlight a number of areas where explicit string concatenation was being used despite it not be necessary. Fix these while we're aware of them. [1] http://pycodestyle.pycqa.org/en/latest/intro.html#error-codes Signed-off-by: Stephen Finucane <stephen@that.guru>
Diffstat (limited to 'patchwork/parser.py')
-rw-r--r--patchwork/parser.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/patchwork/parser.py b/patchwork/parser.py
index bc9dae2..6b7189c 100644
--- a/patchwork/parser.py
+++ b/patchwork/parser.py
@@ -867,7 +867,7 @@ def parse_patch(content):
def parse_pull_request(content):
- git_re = re.compile(r'^The following changes since commit.*' +
+ git_re = re.compile(r'^The following changes since commit.*'
r'^are available in the git repository at:\n'
r'^\s*([\S]+://[^\n]+)$',
re.DOTALL | re.MULTILINE | re.IGNORECASE)