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

Side by Side Diff: client/common_lib/site_packages.py

Issue 6883099: Enable autotest client package fetching based on updated image. (Closed) Base URL: ssh://gitrw.chromium.org:9222/autotest.git@master
Patch Set: patch Created 9 years, 8 months 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 | « no previous file | server/site_autotest.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 from autotest_lib.client.common_lib import base_packages
2
3
4 class SiteHttpFetcher(base_packages.HttpFetcher):
5 # shortcut quick http test for now since our dev server does not support
6 # this operation.
7 def _quick_http_test(self):
8 return
9
10
11 class SitePackageManager(base_packages.BasePackageManager):
12 def get_fetcher(self, url):
13 if url.startswith('http://'):
14 return SiteHttpFetcher(self, url)
15 else:
16 return super(SitePackageManager, self).get_fetcher(url)
OLDNEW
« no previous file with comments | « no previous file | server/site_autotest.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698