From 8e946925b67f8f961ffe6d12314ed3d0015d6df1 Mon Sep 17 00:00:00 2001 From: Alberto Planas Date: Tue, 15 Jul 2014 11:58:14 +0200 Subject: [PATCH 1/2] Don't hide exception when we can't gather the list of RPM in a package. --- osc-check_repo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/osc-check_repo.py b/osc-check_repo.py index 1eb549ab..2efbec65 100644 --- a/osc-check_repo.py +++ b/osc-check_repo.py @@ -76,7 +76,7 @@ def _check_repo_repo_list(self, prj, repo, arch, pkg, opts): continue files.append((fn, pname, result.group(4), mt)) except urllib2.HTTPError: - pass + print " - WARNING: Can't found list of packages (RPM) for %s in %s (%s, %s)" % (pkg, prj, repo, arch) return files From 681196fccd366186938e84ac8785ac144593d30a Mon Sep 17 00:00:00 2001 From: Alberto Planas Date: Tue, 15 Jul 2014 12:09:16 +0200 Subject: [PATCH 2/2] "Found cached version" now do not provide information. --- osc-check_repo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/osc-check_repo.py b/osc-check_repo.py index 2efbec65..0786256b 100644 --- a/osc-check_repo.py +++ b/osc-check_repo.py @@ -163,7 +163,7 @@ def _check_repo_download(self, request, opts): if request.is_cached: request.downloads = self.checkrepo._get_downloads_from_local(request) - print ' - Found cached version for', request.str_compact() + # print ' - Found cached version for', request.str_compact() return self._check_repo_toignore(request, opts) if request.build_excluded: