Add ICU message format support
[chromium-blink-merge.git] / tools / site_compare / scrapers / ie / __init__.py
blobb4dab09e4c2b8b27d2ba8dee55e57a629d2e7f08
1 #!/usr/bin/env python
2 # Copyright (c) 2011 The Chromium Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file.
6 """Selects the appropriate scraper for Internet Explorer."""
9 def GetScraper(version):
10 """Returns the scraper module for the given version.
12 Args:
13 version: version string of IE, or None for most recent
15 Returns:
16 scrape module for given version
17 """
19 # Pychecker will warn that the parameter is unused; we only
20 # support one version of IE at this time
22 # We only have one version of the IE scraper for now
23 return __import__("ie7", globals(), locals(), [''])
26 # if invoked rather than imported, test
27 if __name__ == "__main__":
28 print GetScraper("7.0.5370.1").version