From a6bbe41705aa381f752a4b34d3cb0feb2f8d6f18 Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Tue, 8 Sep 2020 01:18:43 +0200 Subject: [PATCH] Fuck it these messages are confusing people and we don't need them --- src/yunohost/hook.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/yunohost/hook.py b/src/yunohost/hook.py index b57300f54..2c0340ce3 100644 --- a/src/yunohost/hook.py +++ b/src/yunohost/hook.py @@ -196,8 +196,7 @@ def hook_list(action, list_by='name', show_info=False): else: _append_folder(result, HOOK_FOLDER) except OSError: - logger.debug("No default hook for action '%s' in %s", - action, HOOK_FOLDER) + pass try: # Append custom hooks @@ -207,8 +206,7 @@ def hook_list(action, list_by='name', show_info=False): else: _append_folder(result, CUSTOM_HOOK_FOLDER) except OSError: - logger.debug("No custom hook for action '%s' in %s", - action, CUSTOM_HOOK_FOLDER) + pass return {'hooks': result}