Commit 93f9854f authored by Mustafa Gezen's avatar Mustafa Gezen
Browse files

Fix circular dependency

parent 5ceb9744
......@@ -29,7 +29,6 @@ from distrobuild.models import ImportStatus, Package, Import, ImportCommit, Repo
from distrobuild.session import koji_session, gl
from distrobuild.settings import settings
from distrobuild import srpmproc
from distrobuild_scheduler import logger
from distrobuild_scheduler.utils import gitlabify
......@@ -64,7 +63,7 @@ async def task(package_id: int, import_id: int, dependents: List[Tuple[int, int]
await do(package, package_import)
except Exception as e:
logger.debug(e)
print(e)
package_import.status = ImportStatus.FAILED
package.last_import = None
else:
......
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