mirror of
https://github.com/resf/distro-tools.git
synced 2024-11-22 05:01:26 +00:00
Fix ignore when arch is first
This commit is contained in:
parent
bb6795b172
commit
383f28f714
@ -106,8 +106,14 @@ async def scan_path(
|
|||||||
repo_name = arch_
|
repo_name = arch_
|
||||||
# Now append each combination + rest of parts as repo_info
|
# Now append each combination + rest of parts as repo_info
|
||||||
if repo_first:
|
if repo_first:
|
||||||
|
if arch in ignore_arches:
|
||||||
|
logger.info("Ignoring arch: %s", arch)
|
||||||
|
continue
|
||||||
logger.info("Found arch: %s", arch)
|
logger.info("Found arch: %s", arch)
|
||||||
else:
|
else:
|
||||||
|
if repo_name in ignore_repos:
|
||||||
|
logger.info("Ignoring repo: %s", repo_name)
|
||||||
|
continue
|
||||||
logger.info("Found repo: %s", repo_name)
|
logger.info("Found repo: %s", repo_name)
|
||||||
|
|
||||||
if repo_first:
|
if repo_first:
|
||||||
|
Loading…
Reference in New Issue
Block a user