mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Drop legacy snippet from the 3.x era
This commit is contained in:
parent
388c30c40f
commit
99ac76e7d6
1 changed files with 0 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue