Commit 6ce0b750 authored by Chris Lamb's avatar Chris Lamb 💬

PEP8: E502 - Remove extraneous escape of newline.

parent 8ea7501f
......@@ -624,7 +624,7 @@ class SideBySideDiff(object):
self.buf[-1] = (self.buf[-1][0],
self.buf[-1][1] + '\n' + l[2:])
else:
self.buf[-1] = (self.buf[-1][0] + '\n' + \
self.buf[-1] = (self.buf[-1][0] + '\n' +
l[2:], self.buf[-1][1])
continue
......
......@@ -401,7 +401,7 @@ def run_diffoscope(parsed_args):
Config().exclude_directory_metadata = parsed_args.exclude_directory_metadata
Config().compute_visual_diffs = PresenterManager().compute_visual_diffs()
Config().check_constraints()
tool_prepend_prefix(parsed_args.tool_prefix_binutils, * \
tool_prepend_prefix(parsed_args.tool_prefix_binutils, *
"ar as ld ld.bfd nm objcopy objdump ranlib readelf strip".split())
set_path()
set_locale()
......
......@@ -396,7 +396,7 @@ class PartialString(object):
return cls("{0}", cont), cont
def frame(self, header, footer):
frame = self.__class__(self.escape(header) + \
frame = self.__class__(self.escape(header) +
"{0}" + self.escape(footer), None)
return frame.pformat({None: self})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment