Index: tools/site_compare/site_compare.py |
diff --git a/tools/site_compare/site_compare.py b/tools/site_compare/site_compare.py |
old mode 100644 |
new mode 100755 |
index 15359fa05fc62aad1db290806445f0477616d309..db9216f2d0cdc7ccf66bc41707363841414efcda |
--- a/tools/site_compare/site_compare.py |
+++ b/tools/site_compare/site_compare.py |
@@ -1,5 +1,5 @@ |
-#!/usr/bin/python2.4 |
-# Copyright (c) 2006-2008 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. |
@@ -169,9 +169,8 @@ def main(): |
commands.scrape.CreateCommand(cmdline) |
cmdline.ParseCommandLine() |
- |
+ return 0 |
if __name__ == "__main__": |
- main() |
- |
+ sys.exit(main()) |