From 46d6fab07b300439fc011e004710937a1a971143 Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Sat, 3 Dec 2022 14:11:53 +0100 Subject: [PATCH] Fix again the legacy patch for yunohost user create @_@ --- src/utils/legacy.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/utils/legacy.py b/src/utils/legacy.py index 35112724f..3334632c2 100644 --- a/src/utils/legacy.py +++ b/src/utils/legacy.py @@ -254,8 +254,8 @@ def _patch_legacy_helpers(app_folder): "yunohost tools port-available": {"important": True}, "yunohost app checkurl": {"important": True}, "yunohost user create": { - "pattern": r"yunohost user create \S+ (-f|--firstname) (\S+) (-l|--lastname) \S+ (.*)", - "replace": r"yunohost user create --fullname \2 \4", + "pattern": r"yunohost user create (\S+) (-f|--firstname) (\S+) (-l|--lastname) \S+ (.*)", + "replace": r"yunohost user create \1 --fullname \3 \5", "important": False, }, # Remove