This commit is contained in:
Tomas Kopecek 2023-12-04 10:33:18 +01:00
parent 2857830c13
commit 4eceb79c5e

View file

@ -6615,7 +6615,7 @@ class CG_Importer(object):
path = koji.pathinfo.build(self.buildinfo)
if os.path.lexists(path):
if delete:
self.log_warning("Deleting build directory: %s", path)
self.log_warning("Deleting build directory: %s" % path)
koji.util.rmtree(path)
else:
raise koji.GenericError("Destination directory already exists: %s" % path)