Index: ppapi/generators/idl_lexer.py |
diff --git a/ppapi/generators/idl_lexer.py b/ppapi/generators/idl_lexer.py |
old mode 100644 |
new mode 100755 |
index bf0b134e7048f33761eea7546f88da9d9c5eb735..ef46a091379836d4d8be4836bcbc3f00c4a22132 |
--- a/ppapi/generators/idl_lexer.py |
+++ b/ppapi/generators/idl_lexer.py |
@@ -1,5 +1,4 @@ |
-#!/usr/bin/python |
-# |
+#!/usr/bin/env python |
# Copyright (c) 2011 The Chromium Authors. All rights reserved. |
# Use of this source code is governed by a BSD-style license that can be |
# found in the LICENSE file. |
@@ -308,8 +307,6 @@ def TestExpect(tokens): |
return -1 |
- |
- |
def Main(args): |
filenames = ParseOptions(args) |
@@ -328,5 +325,6 @@ def Main(args): |
sys.stderr.write('%s\n' % str(le)) |
return -1 |
+ |
if __name__ == '__main__': |
sys.exit(Main(sys.argv[1:])) |