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

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: . 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
Index: tools/net/netlog.py
diff --git a/tools/net/netlog.py b/tools/net/netlog.py
index 610052bbbd70045b1fdd1b03f717bb62c9f0ce31..d3831dfb1f26e939632c60af9cb61cab48535b4e 100755
--- a/tools/net/netlog.py
+++ b/tools/net/netlog.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
# Copyright (c) 2010 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))

Powered by Google App Engine
This is Rietveld 408576698