diff options
author | David Garcia Quintas <dgq@google.com> | 2016-01-14 10:56:48 -0800 |
---|---|---|
committer | David Garcia Quintas <dgq@google.com> | 2016-01-14 10:56:48 -0800 |
commit | 68a16864b62e57146e6642d8b7384b5280a460f6 (patch) | |
tree | ea500ad6205c19e3e2ab2ee41ab513137d2a51a8 | |
parent | a2517a15734715c65be37a382c352ba17e89d816 (diff) |
Fixed removal of trailing newline upon --fix
-rwxr-xr-x | tools/distrib/check_copyright.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/distrib/check_copyright.py b/tools/distrib/check_copyright.py index 5e948e2dee..d6f2809e57 100755 --- a/tools/distrib/check_copyright.py +++ b/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: |