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

Unified Diff: testing/generate_gmock_mutant.py

Issue 8665013: Fix many* python scripts in src/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Removed chrome_frame/tools/test/page_cycler/cf_cycler.py 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 | « remoting/webapp/verify-webapp.py ('k') | ui/gfx/gl/generate_bindings.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: testing/generate_gmock_mutant.py
diff --git a/testing/generate_gmock_mutant.py b/testing/generate_gmock_mutant.py
old mode 100644
new mode 100755
index 83fbb48aab9f55d44802fe19af234dc261c304e1..fb977d417cebcb15b10742c98f9fe7a8f962c8af
--- a/testing/generate_gmock_mutant.py
+++ b/testing/generate_gmock_mutant.py
@@ -1,9 +1,10 @@
-#!/usr/bin/python
-# Copyright (c) 2009 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.
import string
+import sys
HEADER = """\
// Copyright (c) 2009 The Chromium Authors. All rights reserved.
@@ -447,6 +448,8 @@ def main():
for args in xrange(0, 6 + 1):
GenerateCreateFunctor(prebound, args)
print FOOTER
+ return 0
+
if __name__ == "__main__":
- main()
+ sys.exit(main())
« no previous file with comments | « remoting/webapp/verify-webapp.py ('k') | ui/gfx/gl/generate_bindings.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698