Fix ignore when arch is first

This commit is contained in:
Mustafa Gezen 2023-02-04 10:25:55 +01:00
parent bb6795b172
commit 383f28f714
Signed by untrusted user who does not match committer: mustafa
GPG Key ID: DCDF010D946438C1

View File

@ -106,8 +106,14 @@ async def scan_path(
repo_name = arch_
# Now append each combination + rest of parts as repo_info
if repo_first:
if arch in ignore_arches:
logger.info("Ignoring arch: %s", arch)
continue
logger.info("Found arch: %s", arch)
else:
if repo_name in ignore_repos:
logger.info("Ignoring repo: %s", repo_name)
continue
logger.info("Found repo: %s", repo_name)
if repo_first: