[entropy.security] Repository: when signing file, make sure to check against entropy.const's GPG file extension

This commit is contained in:
Fabio Erculiani
2009-12-28 14:44:43 +01:00
parent 1b3694d76a
commit f3fb4bec2e

View File

@@ -1481,7 +1481,7 @@ class Repository:
const_debug_write(__name__, "Repository.__sign_file args => %s" % (
args,))
asc_path = file_path + ".asc"
asc_path = file_path + etpConst['etpgpgextension']
# remove previously stored .asc
if os.path.isfile(asc_path):
const_debug_write(__name__,