diff --git a/libraries/entropy/server/interfaces/mirrors.py b/libraries/entropy/server/interfaces/mirrors.py index b488a5a81..27915e8bc 100644 --- a/libraries/entropy/server/interfaces/mirrors.py +++ b/libraries/entropy/server/interfaces/mirrors.py @@ -1511,15 +1511,9 @@ class Server: if gpg_item_id in upload_data: raise KeyError("wtf!") sign_path = repo_sec.sign_file(repo, item_path) - gpg_upload_data[gpg_item_id] = sign_path + gpg_upload_data[gpg_item_id] = sign_path upload_data.update(gpg_upload_data) - # also add GPG key to upload_data - gpg_path = self.__write_gpg_pubkey(repo_sec, repo) - if 'gpg_signature' in upload_data: - raise KeyError("cannot add gpg_signature to upload_data") - upload_data['gpg_signature'] = gpg_path - def mirror_lock_check(self, uri, repo = None): """ Return whether mirror is locked.