From 0e55b17665cf1cd05c157950cbc5601421910a2e Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Sun, 12 Feb 2017 18:49:59 -0500 Subject: [PATCH] Fixing also get_conf_hashes --- src/yunohost/service.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/yunohost/service.py b/src/yunohost/service.py index a45a9164a..e3812f3db 100644 --- a/src/yunohost/service.py +++ b/src/yunohost/service.py @@ -645,7 +645,8 @@ def _get_conf_hashes(service): if service not in services: logger.debug("Service %s is not in services.yml yet.", service) return {} - elif 'conffiles' not in services[service]: + + if (services[service] is None) or ('conffiles' not in services[service]): logger.debug("No configuration files for service %s.", service) return {} else: