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