The test_add_repo case in the tests/test_repomaker.py created a empty *primary.xml.gz
Then check packages in the *primary.xml.gz fail
Change-Id: I66913839f01f8437051c71730bad13e205f395ba
Signed-off-by: fushuai <shuai01.fu@samsung.com>
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]