[entropy.server] also upload uncompressed public GPG signature file, if available

This commit is contained in:
Fabio Erculiani
2009-12-28 21:32:22 +01:00
parent eb6733d4a6
commit f2a4dda517
@@ -1189,6 +1189,12 @@ class Server:
data['keywords_file'] = keywords_file
extra_text_files.append(keywords_file)
gpg_file = self.Entropy.get_local_database_gpg_signature_file(repo)
if os.path.isfile(gpg_file) or download:
data['gpg_file'] = gpg_file
# no need to add to extra_text_files, it will be added
# afterwards
# EAPI 2,3
if not download: # we don't need to get the dump