Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2063)

Unified Diff: chrome/test/chromedriver/cpp_source.py

Issue 23484036: Add newlines to the end of files where they were missing (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/test/chromedriver/cpp_source.py
diff --git a/chrome/test/chromedriver/cpp_source.py b/chrome/test/chromedriver/cpp_source.py
index 582f0bf5f5226349ea7ce6780ba5f8ea752ef282..50eb91964a21ebf98a77a9951d525a195876b8d2 100644
--- a/chrome/test/chromedriver/cpp_source.py
+++ b/chrome/test/chromedriver/cpp_source.py
@@ -43,6 +43,7 @@ def WriteSource(base_name,
'\n'.join(externs),
'',
'#endif // ' + define])
+ header += '\n'
with open(os.path.join(output_dir, base_name + '.h'), 'w') as f:
f.write(header)
@@ -67,6 +68,7 @@ def WriteSource(base_name,
'#include "%s"' % (dir_from_src + '/' + base_name + '.h'),
'',
'\n'.join(definitions)])
+ cc += '\n'
with open(os.path.join(output_dir, base_name + '.cc'), 'w') as f:
f.write(cc)

Powered by Google App Engine
This is Rietveld 408576698