From fd81c0950d0a175b53da9fbd589635de6ecad41c Mon Sep 17 00:00:00 2001 From: Laurent Peuch Date: Fri, 2 Oct 2015 16:19:37 -0400 Subject: [PATCH] Simplify app debug json structure --- lib/yunohost/app.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/yunohost/app.py b/lib/yunohost/app.py index 338555df..f18b45f9 100644 --- a/lib/yunohost/app.py +++ b/lib/yunohost/app.py @@ -731,9 +731,8 @@ def app_debug(app): return { 'name': manifest['name'], 'services_logs': [{ - 'service': x, - 'log': service_log(x), - } for x in manifest.get("services", [])] + x: service_log(x), + } for x in sorted(manifest.get("services", []))] }