From: Hyokeun Jeon Date: Thu, 25 Apr 2019 05:54:08 +0000 (+0900) Subject: Do not handle non-existing repo when create repos X-Git-Tag: submit/devel/20190730.075415~5 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=69f8f644e44c086deed317bea04027615258e319;p=services%2Fjenkins-scripts.git Do not handle non-existing repo when create repos Problem: If there exist no matched directory in live repo, it collects all rpms from other repos. Change-Id: I24b21f56331f137c4e46271d9442ee60793258b3 --- diff --git a/common/repomaker.py b/common/repomaker.py index 85698f7..59e240a 100644 --- a/common/repomaker.py +++ b/common/repomaker.py @@ -57,7 +57,7 @@ def collect(in_dir, archs, repo_name=None): find_dir = os.path.join(in_dir, repo_name) if not os.path.exists(find_dir): #TODO: Do not handle non-existing repo. - find_dir = in_dir + #find_dir = in_dir print "WARNING! No matching repo(%s) exist." % repo_name for fname in find_files(find_dir): ftype = fname.split('.')[-2]