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

Side by Side Diff: tools/site_compare/site_compare.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 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « tools/site_compare/scrapers/ie/ie7.py ('k') | tools/site_compare/utils/__init__.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/usr/bin/python2.4 1 #!/usr/bin/env python
2 # Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 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 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 5
6 """SiteCompare component to handle bulk scrapes. 6 """SiteCompare component to handle bulk scrapes.
7 7
8 Invokes a list of browsers and sends them to a list of URLs, 8 Invokes a list of browsers and sends them to a list of URLs,
9 saving the rendered results to a specified directory, then 9 saving the rendered results to a specified directory, then
10 performs comparison operations on the resulting bitmaps and 10 performs comparison operations on the resulting bitmaps and
11 saves the results 11 saves the results
12 """ 12 """
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
162 """Main executable. Parse the command line and invoke the command.""" 162 """Main executable. Parse the command line and invoke the command."""
163 cmdline = command_line.CommandLine() 163 cmdline = command_line.CommandLine()
164 164
165 # The below two commands are currently unstable so have been disabled 165 # The below two commands are currently unstable so have been disabled
166 # commands.compare2.CreateCommand(cmdline) 166 # commands.compare2.CreateCommand(cmdline)
167 # commands.maskmaker.CreateCommand(cmdline) 167 # commands.maskmaker.CreateCommand(cmdline)
168 commands.measure.CreateCommand(cmdline) 168 commands.measure.CreateCommand(cmdline)
169 commands.scrape.CreateCommand(cmdline) 169 commands.scrape.CreateCommand(cmdline)
170 170
171 cmdline.ParseCommandLine() 171 cmdline.ParseCommandLine()
172 172 return 0
173 173
174 174
175 if __name__ == "__main__": 175 if __name__ == "__main__":
176 main() 176 sys.exit(main())
177
OLDNEW
« no previous file with comments | « tools/site_compare/scrapers/ie/ie7.py ('k') | tools/site_compare/utils/__init__.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698