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

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: 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') | server/site_autotest.py » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 import logging, os
2 from autotest_lib.client.common_lib import global_config
DaleCurtis 2011/04/21 19:16:55 You don't use any of these imports except for base
3 from autotest_lib.client.common_lib import utils, base_packages
4
5
6 class SiteHttpFetcher(base_packages.HttpFetcher):
7 # shortcut quick http test for now since our dev server does not support
8 # this operation.
9 def _quick_http_test(self):
10 return
11
12
13 class SitePackageManager(base_packages.BasePackageManager):
14 def get_fetcher(self, url):
15 if url.startswith('http://'):
16 return SiteHttpFetcher(self, url)
17 else:
18 return base_packages.BasePackageManager.get_fetcher(self, url)
OLDNEW
« no previous file with comments | « no previous file | server/site_autotest.py » ('j') | server/site_autotest.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698