From 9dd4778d7f7ce207ebbff6a474a2d12c1c9f1357 Mon Sep 17 00:00:00 2001 From: Tomas Peterka Date: Thu, 28 Nov 2024 12:14:44 +0100 Subject: [PATCH] fix: Bug for cached repositories --- gira/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gira/core.py b/gira/core.py index 59b8d4d..56ed91a 100644 --- a/gira/core.py +++ b/gira/core.py @@ -27,7 +27,7 @@ class Upgrade: name: str old_version: Optional[str] = None new_version: Optional[str] = None - messages: list[str] = field(default_factory=list) + messages: Optional[list[str]] = None def __str__(self): return f"{self.name} {self.old_version} => {self.new_version}:"