Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists1p.gnu.org (lists1p.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 0C9D2FF886F for ; Thu, 30 Apr 2026 09:07:39 +0000 (UTC) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists1p.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1wINLR-00080o-9Z; Thu, 30 Apr 2026 05:06:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1wINLM-0007zT-NE for qemu-devel@nongnu.org; Thu, 30 Apr 2026 05:06:00 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1wINLL-000398-1g for qemu-devel@nongnu.org; Thu, 30 Apr 2026 05:06:00 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1777539958; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=RxQj7dwEKsTzDxDCaWO3n7Zs1ZcbChEssKhrGqpOOhI=; b=LE/jCjcDaBQFCD7KH8ePX+1rtbyaMBawBM17JjEiDmLufFo4ohjRmaiPBiBFnHr4TG45FH /cEx7iHo90MggDZGn+T4YlcY1NB09w4J3TGQ7Pcyrmh/bzCy+QoRK/oy1yl5VMQpwavl42 7vlNZknJpBVydfIKh7bWKI1SiGTdqV0= Received: from mail-wm1-f72.google.com (mail-wm1-f72.google.com [209.85.128.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-196-YYPbdiF-MZm9UprYY9oA-A-1; Thu, 30 Apr 2026 05:05:55 -0400 X-MC-Unique: YYPbdiF-MZm9UprYY9oA-A-1 X-Mimecast-MFC-AGG-ID: YYPbdiF-MZm9UprYY9oA-A_1777539954 Received: by mail-wm1-f72.google.com with SMTP id 5b1f17b1804b1-488bd1ee9e7so7706765e9.1 for ; Thu, 30 Apr 2026 02:05:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=google; t=1777539954; x=1778144754; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=RxQj7dwEKsTzDxDCaWO3n7Zs1ZcbChEssKhrGqpOOhI=; b=NX7+RyUs32CEXwHoplDQqT+595f3qU4epPEz6Kz1T3ko7LZp58BsEQnHTlRoOpqNAC +WrRMFbenTKukQeOxz6ruwlglvcZO6fIsdM8BeiTDGrLSaBmG2IY0rG3FsJ8UN6v97wi GXDpsZ5S/8G00AcdsyXdRKPskATg2kLHcT7IKftJ1hElkVHkaXA0Q7e5Sg/lZocFiAhk toB23+TD5QtkjB0xV3TUaIOgIiRpgT2p8mzLopoSYg5MN1YuJwaHpGarmZ56rFi00IG5 G0jw2SMOjBk/qCcEATFN+h1qIM8Y3GtppmiPU460hGP801BolexXClXDOMtbXcDHhbye OEgw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1777539954; x=1778144754; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=RxQj7dwEKsTzDxDCaWO3n7Zs1ZcbChEssKhrGqpOOhI=; b=sJ758ICH5eIs9UTEc5hLYTZ1qbblydy5Wr+1rax+VHaBJFW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82 with SMTP id 5b1f17b1804b1-48a844415a9mr34928965e9.10.1777539953794; Thu, 30 Apr 2026 02:05:53 -0700 (PDT) X-Received: by 2002:a05:600c:1987:b0:48a:568f:ae82 with SMTP id 5b1f17b1804b1-48a844415a9mr34928505e9.10.1777539953223; Thu, 30 Apr 2026 02:05:53 -0700 (PDT) Received: from [192.168.10.48] ([151.49.85.67]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-48a81b9493bsm47131345e9.0.2026.04.30.02.05.51 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 Apr 2026 02:05:51 -0700 (PDT) From: Paolo Bonzini To: qemu-devel@nongnu.org Subject: [PATCH 09/13] minikconf: use .items() Date: Thu, 30 Apr 2026 11:05:30 +0200 Message-ID: <20260430090534.841894-10-pbonzini@redhat.com> X-Mailer: git-send-email 2.54.0 In-Reply-To: <20260430090534.841894-1-pbonzini@redhat.com> References: <20260430090534.841894-1-pbonzini@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=170.10.133.124; envelope-from=pbonzini@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: qemu development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Signed-off-by: Paolo Bonzini --- scripts/minikconf.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/minikconf.py b/scripts/minikconf.py index 07a5152ef54..0806a92c14d 100644 --- a/scripts/minikconf.py +++ b/scripts/minikconf.py @@ -244,8 +244,8 @@ def compute_config(self): debug_print(clause) debug_print("\nDependency graph:") - for i in self.referenced_vars: - debug_print(i, "->", [str(x) for x in self.referenced_vars[i].outgoing]) + for source, edges in self.referenced_vars.items(): + debug_print(source, "->", [str(x) for x in edges.outgoing]) # The reverse of the depth-first order is the topological sort dfo = dict() -- 2.54.0