Fixed removal of trailing newline upon --fix

pull/4727/head
David Garcia Quintas 9 years ago
parent a2517a1573
commit 68a16864b6
  1. 2
      tools/distrib/check_copyright.py

@ -104,7 +104,7 @@ RE_LICENSE = dict(
def load(name):
with open(name) as f:
return '\n'.join(line.rstrip() for line in f.read().splitlines())
return f.read()
def save(name, text):
with open(name, 'w') as f:

Loading…
Cancel
Save