mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Fuck it these messages are confusing people and we don't need them
This commit is contained in:
parent
9640b22a23
commit
a6bbe41705
1 changed files with 2 additions and 4 deletions
|
@ -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}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue