Updated keys

Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
This commit is contained in:
Dimitris Zlatanidis 2024-05-31 17:42:09 +03:00
parent cd0bbe764b
commit 1e5254535c

View file

@ -143,8 +143,8 @@ class Upgrade(Configs): # pylint: disable=[R0902]
log: dict = self.utils.read_json_file(self.upgrade_log_file)
log[installed]: dict = {
'repository': self.repository,
'package': self.data[name]['package'],
'repo name': self.repository,
'repo package': self.data[name]['package'],
'error': str(err)
}
self.upgrade_log_file.write_text(json.dumps(log, indent=4), encoding='utf-8')