nixos/make-options-doc: Fix exception handler for arity /= 1 methods
This commit is contained in:
parent
aff2dbbc82
commit
bccc3e747b
1 changed files with 2 additions and 2 deletions
|
@ -57,8 +57,8 @@ def convertMD(options: Dict[str, Any]) -> str:
|
||||||
try:
|
try:
|
||||||
return super(Renderer, self)._get_method(name)
|
return super(Renderer, self)._get_method(name)
|
||||||
except AttributeError:
|
except AttributeError:
|
||||||
def not_supported(children, **kwargs):
|
def not_supported(*args, **kwargs):
|
||||||
raise NotImplementedError("md node not supported yet", name, children, **kwargs)
|
raise NotImplementedError("md node not supported yet", name, args, **kwargs)
|
||||||
return not_supported
|
return not_supported
|
||||||
|
|
||||||
def text(self, text):
|
def text(self, text):
|
||||||
|
|
Loading…
Reference in a new issue