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

Unified Diff: tools/site_compare/scrapers/__init__.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/site_compare/operators/equals_with_mask.py ('k') | tools/site_compare/scrapers/chrome/__init__.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/site_compare/scrapers/__init__.py
diff --git a/tools/site_compare/scrapers/__init__.py b/tools/site_compare/scrapers/__init__.py
old mode 100644
new mode 100755
index cb82b2bdde58a951cb98968f50d7a0d54f0df2c1..5f6d77885b7251eb6cdedad19b6740aa11e819df
--- a/tools/site_compare/scrapers/__init__.py
+++ b/tools/site_compare/scrapers/__init__.py
@@ -1,11 +1,10 @@
-#!/usr/bin/python2.4
-#
-# Copyright 2007 Google Inc. 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.
"""Selects the appropriate scraper for a given browser and version."""
-__author__ = 'jhaas@google.com (Jonathan Haas)'
-
import types
# TODO(jhaas): unify all optional scraper parameters into kwargs
@@ -28,7 +27,7 @@ def GetScraper(browser):
return module
+
# if invoked rather than imported, do some tests
if __name__ == "__main__":
print GetScraper("IE")
-
« no previous file with comments | « tools/site_compare/operators/equals_with_mask.py ('k') | tools/site_compare/scrapers/chrome/__init__.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698