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

Unified Diff: tools/valgrind/valgrind_test.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/valgrind/valgrind_test.py
diff --git a/tools/valgrind/valgrind_test.py b/tools/valgrind/valgrind_test.py
old mode 100755
new mode 100644
index 5f7ca5f1af2f9958c440a9bb2511b97e6658c927..cb3a492ff77366977c640a9f1c0c107a8e6fd5ba
--- a/tools/valgrind/valgrind_test.py
+++ b/tools/valgrind/valgrind_test.py
@@ -1,10 +1,7 @@
-#!/usr/bin/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.
-# valgrind_test.py
-
"""Runs an exe through Valgrind and puts the intermediate files in a
directory.
"""
@@ -1148,7 +1145,3 @@ class ToolFactory:
def CreateTool(tool):
return ToolFactory().Create(tool)
-
-if __name__ == '__main__':
- logging.error(sys.argv[0] + " can not be run from command line")
- sys.exit(1)

Powered by Google App Engine
This is Rietveld 408576698