From f3fb4bec2efea3b26cd115178d276dd732862b87 Mon Sep 17 00:00:00 2001 From: Fabio Erculiani Date: Mon, 28 Dec 2009 14:44:43 +0100 Subject: [PATCH] [entropy.security] Repository: when signing file, make sure to check against entropy.const's GPG file extension --- libraries/entropy/security.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/entropy/security.py b/libraries/entropy/security.py index 8b757e61c..2e3b544e7 100644 --- a/libraries/entropy/security.py +++ b/libraries/entropy/security.py @@ -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__,