| 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")
|
| -
|
|
|