mirror of
https://github.com/YunoHost/moulinette.git
synced 2024-09-03 20:06:31 +02:00
[fix] hotfix for very obvious bug
This commit is contained in:
parent
8f28d152d1
commit
6c200ad9c9
1 changed files with 1 additions and 1 deletions
|
@ -194,7 +194,7 @@ class RequiredParameter(_ExtraParameter):
|
|||
def __call__(self, required, arg_name, arg_value):
|
||||
if required and (arg_value is None or arg_value == ''):
|
||||
logger.debug("argument '%s' is required",
|
||||
v, arg_name, pattern)
|
||||
arg_name)
|
||||
raise MoulinetteError(errno.EINVAL,
|
||||
m18n.g('argument_required',
|
||||
argument=arg_name))
|
||||
|
|
Loading…
Reference in a new issue