aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/distrib/check_copyright.py
diff options
context:
space:
mode:
authorGravatar David Garcia Quintas <dgq@google.com>2016-01-14 10:56:48 -0800
committerGravatar David Garcia Quintas <dgq@google.com>2016-01-14 10:56:48 -0800
commit68a16864b62e57146e6642d8b7384b5280a460f6 (patch)
treeea500ad6205c19e3e2ab2ee41ab513137d2a51a8 /tools/distrib/check_copyright.py
parenta2517a15734715c65be37a382c352ba17e89d816 (diff)
Fixed removal of trailing newline upon --fix
Diffstat (limited to 'tools/distrib/check_copyright.py')
-rwxr-xr-xtools/distrib/check_copyright.py2
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: