Commit fe27f0fc authored by Mustafa Gezen's avatar Mustafa Gezen
Browse files

Ignore module candidate when bootstrapping modules

parent 1e7385b1
......@@ -64,7 +64,7 @@ async def process_module_dump(responsible_username: str) -> None:
for module in module_list.keys():
package_name = module.strip()
existing_package = await Package.filter(name=package_name).get_or_none()
existing_package = await Package.filter(name=package_name, repo__not=Repo.MODULAR_CANDIDATE).get_or_none()
if existing_package:
if not existing_package.is_module and existing_package.repo != Repo.MODULAR_CANDIDATE:
existing_package.is_module = True
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment