Index: ppapi/generators/idl_c_header.py |
diff --git a/ppapi/generators/idl_c_header.py b/ppapi/generators/idl_c_header.py |
old mode 100644 |
new mode 100755 |
index 536d73e0a9dd013d69ec4fec4448472ec7eb3c59..3cdf62761120b8bc59e075e6b382fdf652f252e4 |
--- a/ppapi/generators/idl_c_header.py |
+++ b/ppapi/generators/idl_c_header.py |
@@ -1,5 +1,4 @@ |
-#!/usr/bin/python |
-# |
+#!/usr/bin/env python |
# Copyright (c) 2012 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. |
@@ -230,5 +229,4 @@ def Main(args): |
return failed |
if __name__ == '__main__': |
- retval = Main(sys.argv[1:]) |
- sys.exit(retval) |
+ sys.exit(Main(sys.argv[1:])) |