Merge pull request #4727 from dgquintas/copyright_fix_newline

Fixed removal of trailing newline upon --fix
pull/4733/head
Michael Lumish 9 years ago
commit 2e18d43930
  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