Commit 229dd31a authored by James Valleroy's avatar James Valleroy

backups: Include app versions in manifest file

Signed-off-by: James Valleroy's avatarJames Valleroy <>
parent 7124c34b
......@@ -77,7 +77,11 @@ def _backup_handler(packet):
manifest_path = MANIFESTS_FOLDER + packet.label + '.json'
manifests = {x[0]: x[2] for x in packet.manifests}
manifests = [{
'name': x[0],
'version': x[1].version,
'backup': x[2]
} for x in packet.manifests]
with open(manifest_path, 'w') as manifest_file:
json.dump(manifests, manifest_file)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment