aboutsummaryrefslogtreecommitdiffstats
path: root/backend
diff options
context:
space:
mode:
Diffstat (limited to 'backend')
-rwxr-xr-xbackend/raw_write.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/backend/raw_write.py b/backend/raw_write.py
index d369d82..699d1fc 100755
--- a/backend/raw_write.py
+++ b/backend/raw_write.py
@@ -155,7 +155,6 @@ class Dumper(object):
def _get_sum(self, source):
self.return_state = False
- self.return_message = ""
logging.debug("Starting getting sum")
# Check if the sum file has a valid signature
gpg = gnupg.GPG()
@@ -175,7 +174,7 @@ class Dumper(object):
self.signature_checked = False
except:
self.signature_found = False
- self.return_message = _("Signature file {} not found\n").format(sig_file)
+ logging.info(_("Signature file {} not found\n").format(sig_file))
try:
# Look for sum files in the same directory as source
with open(source+'.sha512','r') as fs:
@@ -183,9 +182,8 @@ class Dumper(object):
self.sum_check=(fs.readline()).split()[0]
self.sum_file = True
except:
- self.return_message = _("Sum SHA512 file {} not found\n").format(source+'.sha512')
+ logging.info(_("Sum SHA512 file {} not found\n").format(source+'.sha512'))
self.sum_file = False
- logging.info(self.return_message)
def _check_write(self, target, source):
logging.debug("Start checking")