Fix code flow issue in python 2 code path.
This commit is contained in:
parent
db17ccbacb
commit
c203080645
@ -214,6 +214,7 @@ if stderrdata:
|
|||||||
elif p.returncode > 0:
|
elif p.returncode > 0:
|
||||||
if verbose:
|
if verbose:
|
||||||
print('Formatter {} gives nonzero returncode: {}'.format(formattername, p.returncode))
|
print('Formatter {} gives nonzero returncode: {}'.format(formattername, p.returncode))
|
||||||
|
vim.command('return 1')
|
||||||
else:
|
else:
|
||||||
# It is not certain what kind of line endings are being used by the format program.
|
# It is not certain what kind of line endings are being used by the format program.
|
||||||
# Therefore we simply split on all possible eol characters.
|
# Therefore we simply split on all possible eol characters.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user