Do not download requests without RPM.

This commit is contained in:
Alberto Planas 2014-09-29 14:04:38 +02:00
parent eafe1b51f8
commit 482da28be6

View File

@ -595,6 +595,10 @@ class CheckRepo(object):
request.downloads[(_project, _repo, disturl)].append(file_in_disturl)
# Some subpackage do not have any rpm (e.g. rpmlint)
if not last_disturldir:
return
for _project, _repo, arch, fn, mt in todownload_rest:
repodir = os.path.join(DOWNLOADS, request.src_package, _project, _repo)
if not os.path.exists(repodir):