Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
frontend: don't traceback on generating tasks for disabled chroots
This happens in cases like fedora-copr#2904 and infinitely produces the following tracebacks: ERROR:coprs:'NoneType' object has no attribute 'module_setup_commands' Traceback (most recent call last): File "/usr/share/copr/coprs_frontend/coprs/views/backend_ns/backend_general.py", line 175, in get_build_record modules = copr_chroot.module_setup_commands ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'module_setup_commands'
- Loading branch information