From 1bb6e7456f46bd49fd22a3f461f340c24c836f26 Mon Sep 17 00:00:00 2001 From: Tomas Kopecek Date: Jul 21 2021 11:48:15 +0000 Subject: recreating absolute path bug --- diff --git a/hub/kojihub.py b/hub/kojihub.py index 23a5492..ca8977a 100644 --- a/hub/kojihub.py +++ b/hub/kojihub.py @@ -7638,7 +7638,7 @@ def delete_rpm_sig(rpminfo, sigkey=None, all_sigs=False): raise koji.GenericError("File %s cannot be deleted." % file_path) for path in list_paths: - basedir = joinpath(builddir, os.path.dirname(path)) + basedir = os.path.dirname(path) if os.path.isdir(basedir) and not os.listdir(basedir): try: os.rmdir(basedir)