From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ronja.mits.lan by ronja.mits.lan with LMTP id WBAaN7kEfGZeegAAxxbTJA (envelope-from ); Wed, 26 Jun 2024 14:08:25 +0200 Received: from proxmox-new.maurer-it.com (unknown [192.168.2.33]) by ronja.mits.lan (Postfix) with ESMTPS id C53E9F64634; Wed, 26 Jun 2024 14:08:25 +0200 (CEST) Received: from proxmox-new.maurer-it.com (localhost.localdomain [127.0.0.1]) by proxmox-new.maurer-it.com (Proxmox) with ESMTP id A9A4F4871A; Wed, 26 Jun 2024 14:08:25 +0200 (CEST) Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68]) (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 proxmox-new.maurer-it.com (Proxmox) with ESMTPS; Wed, 26 Jun 2024 14:08:24 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 1B79E1F3ED; Wed, 26 Jun 2024 14:08:24 +0200 (CEST) From: Maximiliano Sandoval To: Proxmox Backup Server development discussion In-Reply-To: (Shannon Sterz's message of "Wed, 26 Jun 2024 13:16:17 +0200") References: <20240626104514.384718-1-m.sandoval@proxmox.com> <20240626104514.384718-2-m.sandoval@proxmox.com> Date: Wed, 26 Jun 2024 14:07:50 +0200 Message-ID: MIME-Version: 1.0 Subject: Re: [pbs-devel] [PATCH proxmox 02/18] use contains_key instead of .get().is_{some, none}() X-BeenThere: pbs-devel@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Proxmox Backup Server development discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Proxmox Backup Server development discussion Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: pbs-devel-bounces@lists.proxmox.com Sender: "pbs-devel" X-SPAM-LEVEL: Spam detection results: 0 DMARC_MISSING 0.1 Missing DMARC policy KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment KAM_LAZY_DOMAIN_SECURITY 1 Sending domain does not have any anti-forgery methods KAM_LINKBAIT 2.5 Short messages containing little more than a link, from a domain with no security in place MAILING_LIST_MULTI -2 Multiple indicators imply a widely-seen list manager RCVD_IN_DNSWL_MED -2.3 Sender listed at https://www.dnswl.org/, medium trust SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_NONE 0.001 SPF: sender does not publish an SPF Record "Shannon Sterz" writes: > > you missed a "!" here `contains_key` returns `true` when the key is > there, `is_none` is true when it isn't. > I knew separating those two into different commits would help. Thanks sending v2 later today. -- Maximiliano _______________________________________________ pbs-devel mailing list pbs-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pbs-devel