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:
|
else:
|
||||||
_append_folder(result, HOOK_FOLDER)
|
_append_folder(result, HOOK_FOLDER)
|
||||||
except OSError:
|
except OSError:
|
||||||
logger.debug("No default hook for action '%s' in %s",
|
pass
|
||||||
action, HOOK_FOLDER)
|
|
||||||
|
|
||||||
try:
|
try:
|
||||||
# Append custom hooks
|
# Append custom hooks
|
||||||
|
@ -207,8 +206,7 @@ def hook_list(action, list_by='name', show_info=False):
|
||||||
else:
|
else:
|
||||||
_append_folder(result, CUSTOM_HOOK_FOLDER)
|
_append_folder(result, CUSTOM_HOOK_FOLDER)
|
||||||
except OSError:
|
except OSError:
|
||||||
logger.debug("No custom hook for action '%s' in %s",
|
pass
|
||||||
action, CUSTOM_HOOK_FOLDER)
|
|
||||||
|
|
||||||
return {'hooks': result}
|
return {'hooks': result}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue