From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id D79EB158090 for ; Fri, 13 May 2022 17:45:21 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1FD74E08CD; Fri, 13 May 2022 17:45:21 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 5280AE08CD for ; Fri, 13 May 2022 17:45:19 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 8EA333411C3 for ; Fri, 13 May 2022 17:45:18 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 00B7F464 for ; Fri, 13 May 2022 17:45:17 +0000 (UTC) From: "Matt Turner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Matt Turner" Message-ID: <1652463761.430a699ca9262b25fea2e8e2f0ce4eea56e6c898.mattst88@gentoo> Subject: [gentoo-commits] proj/catalyst:master commit in: catalyst/base/ X-VCS-Repository: proj/catalyst X-VCS-Files: catalyst/base/stagebase.py X-VCS-Directories: catalyst/base/ X-VCS-Committer: mattst88 X-VCS-Committer-Name: Matt Turner X-VCS-Revision: 430a699ca9262b25fea2e8e2f0ce4eea56e6c898 X-VCS-Branch: master Date: Fri, 13 May 2022 17:45:17 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 50b4f8a3-ac82-4c67-a41f-d6079b954465 X-Archives-Hash: e907ad65e6f3f9917b888ce3b6ba9828 Message-ID: <20220513174517.TBIBWK5L-SKNBKwiewHelBQYM-RwmAmJfcrVnI6vTqo@z> commit: 430a699ca9262b25fea2e8e2f0ce4eea56e6c898 Author: Daniel Cordero 0xdc io> AuthorDate: Thu Apr 21 07:08:25 2022 +0000 Commit: Matt Turner gentoo org> CommitDate: Fri May 13 17:42:41 2022 +0000 URL: https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=430a699c catalyst/stage4: don't split a single entry A single entry in users is one user who could have multiple groups. Fixes: 5be6069b ("catalyst: support 3 new options") Signed-off-by: Daniel Cordero 0xdc.io> Signed-off-by: Matt Turner gentoo.org> catalyst/base/stagebase.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/catalyst/base/stagebase.py b/catalyst/base/stagebase.py index 7e6b9e32..d4875491 100644 --- a/catalyst/base/stagebase.py +++ b/catalyst/base/stagebase.py @@ -602,7 +602,7 @@ class StageBase(TargetBase, ClearBase, GenBase): if users in self.settings: self.settings["users"] = self.settings[users] if isinstance(self.settings[users], str): - self.settings["users"] = self.settings[users].split(",") + self.settings["users"] = [self.settings[users]] del self.settings[users] else: self.settings["users"] = []