Assigned log variable

Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
This commit is contained in:
Dimitris Zlatanidis 2024-05-31 17:29:52 +03:00
parent 2dff175b39
commit eba04fc494

View file

@ -138,6 +138,7 @@ class Upgrade(Configs): # pylint: disable=[R0902]
name (str): Package name. name (str): Package name.
err (InvalidVersion): InvalidVersion error. err (InvalidVersion): InvalidVersion error.
""" """
log: dict = {}
if self.upgrade_log_file.is_file(): if self.upgrade_log_file.is_file():
log: dict = self.utils.read_json_file(self.upgrade_log_file) log: dict = self.utils.read_json_file(self.upgrade_log_file)