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

Unified Diff: ppapi/generators/idl_node.py

Issue 8653004: Fix python scripts in src/ppapi/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase error Created 8 years, 11 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
« no previous file with comments | « ppapi/generators/idl_namespace.py ('k') | ppapi/generators/idl_option.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/generators/idl_node.py
diff --git a/ppapi/generators/idl_node.py b/ppapi/generators/idl_node.py
old mode 100644
new mode 100755
index 1372d381fa7c559c1c8a472cb70f6e4286a45cb5..3bdcd57b27374ac3e346471639847453a107b28b
--- a/ppapi/generators/idl_node.py
+++ b/ppapi/generators/idl_node.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.
@@ -358,6 +357,6 @@ def Main():
return -1
return 0
+
if __name__ == '__main__':
sys.exit(Main())
-
« no previous file with comments | « ppapi/generators/idl_namespace.py ('k') | ppapi/generators/idl_option.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698