From 19a93664570cc52d63fee4017fe9f4732663fd6b Mon Sep 17 00:00:00 2001 From: Jochen Sprickerhof Date: Sat, 23 Oct 2021 21:57:05 +0200 Subject: [PATCH] check-git-repo-avail ignore NoSourceSince Apps that have NoSourceSince don't need a Repo:. --- tools/check-git-repo-availability.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/check-git-repo-availability.py b/tools/check-git-repo-availability.py index 4cd91dd765..a6e2b88093 100755 --- a/tools/check-git-repo-availability.py +++ b/tools/check-git-repo-availability.py @@ -35,14 +35,14 @@ for f in files: print(Fore.RED + msg + Style.RESET_ALL) errors[f] = msg continue + if 'NoSourceSince' in data.keys(): + continue url = data.get('Repo') if not url: msg = 'ERROR: %s: no Repo: set!' % f print(Fore.RED + msg + Style.RESET_ALL) errors[f] = msg continue - if 'NoSourceSince' in data.keys(): - continue if data.get('RepoType') != 'git': continue