From d3b507b0dc26c1b3bfed43a8d650b6899c3f4e63 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Jan 23 2019 16:23:12 +0000 Subject: Be a little more explicit about what the script is doing Signed-off-by: Pierre-Yves Chibon --- diff --git a/mdapi-get_repo_md b/mdapi-get_repo_md index bfae17f..d0f0414 100755 --- a/mdapi-get_repo_md +++ b/mdapi-get_repo_md @@ -394,6 +394,9 @@ def process_repo(tupl): # of the contents of the filelist and changelog dbs. cache1, cache2 = {}, {} + if not files: + print('No sqlite database could be found in %s' % url) + for filename, shasum, shatype in files: repomd_url = url + '/' + filename @@ -470,6 +473,7 @@ def main(): version = 'rawhide' url = '%s/pub/fedora/linux/' \ 'development/%s/Everything/x86_64/os/repodata' % (DL_SERVER, version) + print(release['koji_name'], version, release['status'], url) repositories.append( (url, release['koji_name']) )