Drop legacy snippet from the 3.x era

This commit is contained in:
Alexandre Aubin 2024-01-14 19:36:03 +01:00
parent 388c30c40f
commit 99ac76e7d6

View file

@ -2552,9 +2552,6 @@ def backup_info(name, with_details=False, human_readable=False):
for category in ["apps", "system"]:
for name, key_info in info[category].items():
if category == "system":
# Stupid legacy fix for weird format between 3.5 and 3.6
if isinstance(key_info, dict):
key_info = key_info.keys()
info[category][name] = key_info = {"paths": key_info}
else:
info[category][name] = key_info