From 4f73f1aed2a7eeddc59192fdc9078c8105b5c323 Mon Sep 17 00:00:00 2001 From: Laurent Peuch Date: Sat, 28 Jul 2018 22:05:29 +0200 Subject: [PATCH] [fix] avoid returning None when an empty dict is expected --- src/yunohost/app.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/yunohost/app.py b/src/yunohost/app.py index 5d11b75c9..5c377059e 100644 --- a/src/yunohost/app.py +++ b/src/yunohost/app.py @@ -2018,6 +2018,7 @@ def _parse_args_from_manifest(manifest, action, args={}, auth=None): action_args = manifest['arguments'][action] except KeyError: logger.debug("no arguments found for '%s' in manifest", action) + return OrderedDict() else: return _parse_action_args_in_yunohost_format(args, action_args, auth)