diff --git a/evidence/management/commands/up_snapshots.py b/evidence/management/commands/up_snapshots.py index 2c58e08..69ac134 100644 --- a/evidence/management/commands/up_snapshots.py +++ b/evidence/management/commands/up_snapshots.py @@ -61,5 +61,5 @@ class Command(BaseCommand): if settings.DEBUG: logger.exception("%s", err) snapshot_id = s.get("uuid", "") - txt = "It is not possible to parse snapshot: %s." + txt = "It is not possible to parse snapshot: %s" logger.error(txt, snapshot_id) diff --git a/evidence/parse.py b/evidence/parse.py index 53d52a9..3ec476b 100644 --- a/evidence/parse.py +++ b/evidence/parse.py @@ -90,7 +90,7 @@ class Build: ) if annotation: - txt = "Warning: Snapshot %s exist as annotation !!" + txt = "Warning: Snapshot %s already registered (annotation exists)" logger.warning(txt, self.uuid) return diff --git a/utils/device.py b/utils/device.py index ec8e807..beaa4b8 100644 --- a/utils/device.py +++ b/utils/device.py @@ -88,7 +88,7 @@ def create_annotation(doc, user, commit=False): ) if annotation: - txt = "Snapshot %s exist as annotation !!" + txt = "Warning: Snapshot %s already registered (annotation exists)" logger.warning(txt, doc["uuid"]) return annotation