From 6f00939053c97031728c6c0f5094cdc9f84001a9 Mon Sep 17 00:00:00 2001 From: Zack Cerza Date: Mon, 26 Aug 2013 16:06:51 -0500 Subject: [PATCH] Use os.path.join, not urlparse.urljoin --- teuthology/suite.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/teuthology/suite.py b/teuthology/suite.py index dab53e2c99c7e..391542e73d964 100644 --- a/teuthology/suite.py +++ b/teuthology/suite.py @@ -13,7 +13,6 @@ import subprocess import sys import time import yaml -import urlparse from teuthology import misc as teuthology from teuthology import safepath @@ -382,7 +381,7 @@ def get_http_log_path(archive_dir, job_id): if not http_base: return None archive_subdir = os.path.split(archive_dir)[-1] - return urlparse.urljoin(http_base, archive_subdir, str(job_id)) + return os.path.join(http_base, archive_subdir, str(job_id)) def build_email_body(name, archive_dir, timeout): -- 2.39.5