mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Had a buggy exception here ... this syntax ain't supported anymore in python3
This commit is contained in:
parent
112054f345
commit
58522d4105
1 changed files with 1 additions and 1 deletions
|
@ -2910,7 +2910,7 @@ def _load_apps_catalog():
|
|||
try:
|
||||
apps_catalog_content = read_json(cache_file) if os.path.exists(cache_file) else None
|
||||
except Exception as e:
|
||||
raise "Unable to read cache for apps_catalog %s : %s"
|
||||
raise YunohostError("Unable to read cache for apps_catalog %s : %s" % (cache_file, e), raw_msg=True)
|
||||
|
||||
# Check that the version of the data matches version ....
|
||||
# ... otherwise it means we updated yunohost in the meantime
|
||||
|
|
Loading…
Add table
Reference in a new issue