From d1deb6d579fc0e862ec4fb84596fed1827cd7af8 Mon Sep 17 00:00:00 2001 From: Zack Cerza Date: Fri, 20 Sep 2013 15:12:02 -0500 Subject: [PATCH] Don't hardcode teuthology's git repo URL --- teuthology/queue.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/teuthology/queue.py b/teuthology/queue.py index 0fa336e59..155f2a333 100644 --- a/teuthology/queue.py +++ b/teuthology/queue.py @@ -11,13 +11,11 @@ import yaml import beanstalkc -from teuthology import safepath +from .config import config as teuth_config +from . import safepath log = logging.getLogger(__name__) -#teuthology_git_upstream = "https://github.com/ceph/teuthology.git" -teuthology_git_upstream = "git://ceph.com/teuthology.git" - # simple flock class class filelock(object): def __init__(self, fn): @@ -51,6 +49,7 @@ def fetch_teuthology_branch(path, branch='master'): try: if not os.path.isdir(path): log.info("Cloning %s from upstream", branch) + teuthology_git_upstream = teuth_config.ceph_git_base_url + 'teuthology.git' log.info( subprocess.check_output(('git', 'clone', '--branch', branch, teuthology_git_upstream, path), -- 2.47.3