Commit 226d4713 authored by Michal Čihař's avatar Michal Čihař

Remove extra whitespace

parent cfc055db
......@@ -36,7 +36,7 @@ def fix_target(target, unit):
'''
fixups = []
for fix in autofixes:
target, fixed = fix.fix_target(target, unit)
target, fixed = fix.fix_target(target, unit)
if fixed:
fixups.append(fix.name)
......
......@@ -31,7 +31,7 @@ class SameBookendingWhitespace(AutoFix):
name = _('Trailing and leading whitespace')
def fix_single_target(self, target, source , unit):
def fix_single_target(self, target, source, unit):
# normalize newlines of source
source = re.compile(r'\r\n|\r|\n').sub('\n', source)
......
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