From 2d2eab4c3013a8fd4bb2e2617e532d0674ccf06a Mon Sep 17 00:00:00 2001 From: alexAubin Date: Thu, 5 Jan 2023 18:15:55 +0000 Subject: [PATCH] :art: Format Python code with Black --- moulinette/interfaces/cli.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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)