| OLD | NEW |
| 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 Loading... |
| 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() |
| OLD | NEW |