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 AFC4915808D for ; Thu, 21 Apr 2022 07:08:58 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A515AE08FA; Thu, 21 Apr 2022 07:08:57 +0000 (UTC) Received: from rs234.mailgun.us (rs234.mailgun.us [209.61.151.234]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 8968CE08FA for ; Thu, 21 Apr 2022 07:08:57 +0000 (UTC) DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=0xdc.io; q=dns/txt; s=smtp; t=1650524937; h=Content-Transfer-Encoding: MIME-Version: References: In-Reply-To: Message-Id: Date: Subject: Subject: To: To: From: From: Sender: Sender; bh=BxybC8hXp61Zw1cdK/3Uv61wgq0G+K4p/klgpjy72Mg=; b=jT5K1YLDtQR9Srv8g2LnDo8e1deebO1wefRuN7Y9f74lZHdxfHRkicg2deygahtB7st4RRkD AoWEdcgyoiuZkEll/1BPT52jR6ts8MkFIvUuflLNhBtWgI7uAhPT+hKt8bgfEeRkygc32wtV i+4lutPIphi9OqphnKSyUPU1Lgg= X-Mailgun-Sending-Ip: 209.61.151.234 X-Mailgun-Sid: WyJiZmIxMyIsICJnZW50b28tY2F0YWx5c3RAbGlzdHMuZ2VudG9vLm9yZyIsICJmNjc0NGUiXQ== Received: from mail.0xdc.io (mail.0xdc.io [54.37.0.172]) by smtp-out-n07.prod.us-east-1.postgun.com with SMTP id 6261030978e4c7d358e180f6 (version=TLS1.3, cipher=TLS_AES_128_GCM_SHA256); Thu, 21 Apr 2022 07:08:57 GMT Sender: gentoo.catalyst@0xdc.io Received: from pulsar (5.b.0.d.c.4.e.f.f.f.1.0.5.8.8.4.0.a.4.7.9.0.c.0.0.b.8.0.1.0.0.2.ip6.arpa [IPv6:2001:8b0:c09:74a0:4885:1ff:fe4c:d0b5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mail.0xdc.io (Postfix) with ESMTPSA id 01FE6102418 for ; Thu, 21 Apr 2022 07:10:46 +0000 (UTC) From: Daniel Cordero To: gentoo-catalyst@lists.gentoo.org Subject: [gentoo-catalyst] [PATCH 3/4] stage4/users: don't split a single entry Date: Thu, 21 Apr 2022 07:08:25 +0000 Message-Id: <20220421070826.92638-3-gentoo.catalyst@0xdc.io> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220421070826.92638-1-gentoo.catalyst@0xdc.io> References: <20220421070826.92638-1-gentoo.catalyst@0xdc.io> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-catalyst@lists.gentoo.org Reply-to: gentoo-catalyst@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Archives-Salt: 7ab81b13-2b22-4621-9176-7c9facb355ad X-Archives-Hash: 2c6805c19fed7c1f78380022354c067a A single entry in users is one user who could have multiple groups. --- 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"] = [] -- 2.35.1