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

Unified Diff: tools/net/netlog.py

Issue 8678023: Fix python scripts in src/tools/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixes Created 9 years, 1 month 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 | « tools/linux/dump-static-initializers.py ('k') | tools/nocompile_driver.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/net/netlog.py
diff --git a/tools/net/netlog.py b/tools/net/netlog.py
index 610052bbbd70045b1fdd1b03f717bb62c9f0ce31..f66d5f04afc897b97502076d17b2397b14c5e66f 100755
--- a/tools/net/netlog.py
+++ b/tools/net/netlog.py
@@ -1,5 +1,5 @@
-#!/usr/bin/python
-# Copyright (c) 2010 The Chromium Authors. All rights reserved.
+#!/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.
@@ -172,6 +172,4 @@ def main(_):
if '__main__' == __name__:
- ret = main(sys.argv)
- sys.exit(ret)
-
+ sys.exit(main(sys.argv))
« no previous file with comments | « tools/linux/dump-static-initializers.py ('k') | tools/nocompile_driver.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698