From: Hasan Wan Date: Mon, 6 Jan 2014 02:57:00 +0000 (+0000) Subject: remove unused function X-Git-Tag: 0.15~9 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=75ce3bb313d735a818db30267830bdb536fb8729;p=services%2Fjenkins-scripts.git remove unused function Change-Id: I99a3c65d00163b78df2885d1850c6f4e94b99c2d Signed-off-by: Hasan Wan --- diff --git a/job_create_snapshot.py b/job_create_snapshot.py index 1e4325d..00329b6 100755 --- a/job_create_snapshot.py +++ b/job_create_snapshot.py @@ -104,20 +104,6 @@ def make_repo(project, repo, backenddb, base_path, 'imagedata': repomaker.imagedata } -def get_published_repo(repo_path_base, time_stamp): - """ Search publised repository - Args: - repo_path_base (str): the repo location on file systems - time_stamp (str): the time stamp of sbumit tag - """ - ret_list = [] - if os.path.isdir(repo_path_base): - for dir_name in os.listdir(repo_path_base): - if dir_name.endswith(time_stamp): - ret_list.append(os.path.join(repo_path_base, dir_name)) - - return ret_list - def main(): """Script entry point."""