Skip to content

Commit

Permalink
backend: fix several failing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
FrostyX committed Oct 11, 2023
1 parent c381e34 commit 3733c55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/copr_backend/background_worker_build.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 3733c55

Please sign in to comment.