From 1505bcf73c12d6d728a68e8d531595db538686e5 Mon Sep 17 00:00:00 2001 From: Pavel Raiskup Date: Thu, 26 Sep 2024 09:44:09 +0200 Subject: [PATCH] chain: No need to re-create resultdir This is already handled by the preceding resetLogging() call. Relates: #1467 --- mock/py/mockbuild/backend.py | 1 - 1 file changed, 1 deletion(-) diff --git a/mock/py/mockbuild/backend.py b/mock/py/mockbuild/backend.py index 200709bde..63b063c88 100644 --- a/mock/py/mockbuild/backend.py +++ b/mock/py/mockbuild/backend.py @@ -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: