Fix pycodestyle "line break after binary operator" warnings

This commit is contained in:
Ben Hutchings
2018-12-28 15:27:54 +00:00
parent 32af5cef75
commit a54c09f109
6 changed files with 33 additions and 32 deletions

View File

@@ -79,9 +79,9 @@ class FirmwareWhence(list):
else:
licence = value
elif licence is not None:
licence = (licence + '\n' +
re.sub(r'^(?:[/ ]\*| \*/)?\s*(.*?)\s*$', r'\1',
line))
licence = (licence + '\n'
+ re.sub(r'^(?:[/ ]\*| \*/)?\s*(.*?)\s*$', r'\1',
line))
# Finish last section if non-empty
for b in binary: