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

Side by Side Diff: cpplint.py

Issue 10391070: Change the python hashbang in cppint.py (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools/
Patch Set: Created 8 years, 7 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/usr/bin/python2.4 1 #!/usr/bin/env python
2 # 2 #
3 # Copyright (c) 2009 Google Inc. All rights reserved. 3 # Copyright (c) 2009 Google Inc. All rights reserved.
4 # 4 #
5 # Redistribution and use in source and binary forms, with or without 5 # Redistribution and use in source and binary forms, with or without
6 # modification, are permitted provided that the following conditions are 6 # modification, are permitted provided that the following conditions are
7 # met: 7 # met:
8 # 8 #
9 # * Redistributions of source code must retain the above copyright 9 # * Redistributions of source code must retain the above copyright
10 # notice, this list of conditions and the following disclaimer. 10 # notice, this list of conditions and the following disclaimer.
11 # * Redistributions in binary form must reproduce the above 11 # * Redistributions in binary form must reproduce the above
(...skipping 3340 matching lines...) Expand 10 before | Expand all | Expand 10 after
3352 _cpplint_state.ResetErrorCounts() 3352 _cpplint_state.ResetErrorCounts()
3353 for filename in filenames: 3353 for filename in filenames:
3354 ProcessFile(filename, _cpplint_state.verbose_level) 3354 ProcessFile(filename, _cpplint_state.verbose_level)
3355 _cpplint_state.PrintErrorCounts() 3355 _cpplint_state.PrintErrorCounts()
3356 3356
3357 sys.exit(_cpplint_state.error_count > 0) 3357 sys.exit(_cpplint_state.error_count > 0)
3358 3358
3359 3359
3360 if __name__ == '__main__': 3360 if __name__ == '__main__':
3361 main() 3361 main()
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698