diff --git a/backend/copr-backend.spec b/backend/copr-backend.spec index e4ab4874c..6ed98c9a5 100644 --- a/backend/copr-backend.spec +++ b/backend/copr-backend.spec @@ -3,7 +3,7 @@ %endif %global prunerepo_version 1.20 -%global tests_version 4 +%global tests_version 5 %global tests_tar test-data-copr-backend %global copr_common_version 0.20.1.dev1 diff --git a/backend/copr_backend/background_worker_build.py b/backend/copr_backend/background_worker_build.py index d1f9a37d6..994c1430f 100644 --- a/backend/copr_backend/background_worker_build.py +++ b/backend/copr_backend/background_worker_build.py @@ -561,7 +561,7 @@ def _compress_logs(self): self.log.error("Compressed log %s exists", dest) continue - if not os.path.exists(src): + if not os.path.exists(src) and src == self.job.review_log: # fedora-review.log has a good chance of not existing # We should be ready for other similar files self.log.warning("Not trying to compress %s as it does not exist", src)