From 1be4efc5afccd8c4b03ad8c1301f2709d43ed4a1 Mon Sep 17 00:00:00 2001 From: Papoteur Date: Fri, 27 Nov 2020 18:29:21 +0100 Subject: Fix syntax error --- backend/raw_write.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/backend/raw_write.py b/backend/raw_write.py index b90fdd6..a44eabe 100755 --- a/backend/raw_write.py +++ b/backend/raw_write.py @@ -245,7 +245,7 @@ class Dumper(object): working= False if rc != 0: self.return_state = False - self.return_message = _("Error {} while doing persistent partition: {}").format(rc, errs.decode('utf-8') + self.return_message = _("Error {} while doing persistent partition: {}").format(rc, errs.decode('utf-8')) logging.error(self.return_message) self.finished.set() return @@ -276,7 +276,7 @@ class Dumper(object): self.return_message = _("Persistent partition done") else: self.return_state = False - self.return_message = _("Error {} while doing persistent partition: {}").format(rc, errs.decode('utf-8') + self.return_message = _("Error {} while doing persistent partition: {}").format(rc, errs.decode('utf-8')) self.finished.set() return logging.info("Persistent partition done") @@ -300,7 +300,7 @@ class Dumper(object): working= False if rc != 0: self.return_state = False - self.return_message = _("Error {} while doing persistent partition: {}").format(rc, errs.decode('utf-8') + self.return_message = _("Error {} while doing persistent partition: {}").format(rc, errs.decode('utf-8')) logging.error(self.return_message) self.finished.set() return @@ -324,7 +324,7 @@ class Dumper(object): working= False if rc != 0: self.return_state = False - self.return_message = _("Error {} while doing persistent partition: {}").format(rc, errs.decode('utf-8') + self.return_message = _("Error {} while doing persistent partition: {}").format(rc, errs.decode('utf-8')) logging.error(self.return_message) self.finished.set() return @@ -348,7 +348,7 @@ class Dumper(object): working= False if rc != 0: self.return_state = False - self.return_message = _("Error {} while doing persistent partition: {}").format(rc, errs.decode('utf-8') + self.return_message = _("Error {} while doing persistent partition: {}").format(rc, errs.decode('utf-8')) logging.error(self.return_message) self.finished.set() return @@ -371,7 +371,7 @@ class Dumper(object): working= False if rc != 0: self.return_state = False - self.return_message = _("Error {} while doing persistent partition: {}").format(rc, errs.decode('utf-8') + self.return_message = _("Error {} while doing persistent partition: {}").format(rc, errs.decode('utf-8')) logging.error(self.return_message) else: self.return_state = True -- cgit v1.2.1