Skip to content

Commit

Permalink
chain: No need to re-create resultdir
Browse files Browse the repository at this point in the history
This is already handled by the preceding resetLogging() call.

Relates: rpm-software-management#1467
  • Loading branch information
praiskup committed Sep 26, 2024
1 parent 8122bda commit 1505bcf
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion mock/py/mockbuild/backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -477,7 +477,6 @@ def chain(self, args, options, buildroot):
resultdir = os.path.join(self.config['local_repo_dir'], pdn)
self.buildroot.resultdir = resultdir
self.buildroot.resetLogging(force=True)
file_util.mkdirIfAbsent(resultdir)
success_file = os.path.join(resultdir, 'success')
build_ret_code = 0
try:
Expand Down

0 comments on commit 1505bcf

Please sign in to comment.