diff --git a/moulinette/interfaces/cli.py b/moulinette/interfaces/cli.py index 2b009065..744afdc5 100644 --- a/moulinette/interfaces/cli.py +++ b/moulinette/interfaces/cli.py @@ -434,7 +434,13 @@ class ActionsMapParser(BaseActionsMapParser): if len(tid) == 3: _p = self._subparsers.choices[tid[1]]._actions[1].choices[tid[2]] elif len(tid) == 4: - _p = self._subparsers.choices[tid[1]]._actions[1].choices[tid[2]]._actions[1].choices[tid[3]] + _p = ( + self._subparsers.choices[tid[1]] + ._actions[1] + .choices[tid[2]] + ._actions[1] + .choices[tid[3]] + ) return getattr(_p, "want_to_take_lock", True)