From nobody Mon Feb 9 08:56:57 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) client-ip=170.10.133.124; envelope-from=philmd@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=philmd@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1632762202; cv=none; d=zohomail.com; s=zohoarc; b=DJro9hjJfIbVZ5mdw9Nz/GsXegBINOZDyz4ztHcc7Khza8qjEhZxkPDUn0dTvdV818PBk7mNk6G54536yk0IiQb7I+aw6oFTHWOJ0EAbbcfCAOrZUtii6HhNvB6qlhH6kXgq6ht9u18QFa9G3C7F8YqOGH2R6dBrH/aMCNvzbEQ= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1632762202; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=XNDsKvAscMS2RHzun2iIZm543slpyVWUrcnGtw4rUrY=; b=Fc8E+c9L9SM1bYlnbxVhp6Q05TUAwVQM1Sb2Zy2deMuyTa4gkV6WMKNAV481+uRDIn9p9tlews6PDnrUSAk3a4AyoRFECIQxyOrLW+ZDFxazzR05ZuTbT1bWOPF/4vtuB3nmHl4po6DfRX6LmHIwwDCgLfm7ChqJDD7Ui9eEUCI= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=philmd@redhat.com; dmarc=pass header.from= (p=none dis=none) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mx.zohomail.com with SMTPS id 1632762202908412.3437366024242; Mon, 27 Sep 2021 10:03:22 -0700 (PDT) Received: from mail-wm1-f72.google.com (mail-wm1-f72.google.com [209.85.128.72]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-246-DIPsojmpMnazxGCpkxCnfg-1; Mon, 27 Sep 2021 13:03:19 -0400 Received: by mail-wm1-f72.google.com with SMTP id m9-20020a05600c4f4900b003057c761567so462913wmq.1 for ; Mon, 27 Sep 2021 10:03:19 -0700 (PDT) Return-Path: Return-Path: Received: from x1w.redhat.com (118.red-83-35-24.dynamicip.rima-tde.net. [83.35.24.118]) by smtp.gmail.com with ESMTPSA id i1sm18025916wrb.93.2021.09.27.10.03.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Sep 2021 10:03:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1632762201; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=XNDsKvAscMS2RHzun2iIZm543slpyVWUrcnGtw4rUrY=; b=jUrX6CBCblXZjVAO2z/6KUZ25ZDng90KBL5yL+qo1VCiWPOJ6UxkOF4fcg0w4nXDEfJ7vN 3LCzZkder6vqYI2tMeurJiE0qV/UkZRlec0R7ghxGafmsUHV9qmJzs548WABT3OcbiW+Aa 8kG+yVIJXCANVzAPK8zzeSOvQTlWlsQ= X-MC-Unique: DIPsojmpMnazxGCpkxCnfg-1 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=XNDsKvAscMS2RHzun2iIZm543slpyVWUrcnGtw4rUrY=; b=IjBX/aVgic/Hun6/d8poHn2O25lBOmfUjqolC4HiBeQK8jVA17D5oIaFWMyPHyTZRn Ru5pDP+FufGdZmI66lP5nZQmjar0zFB6llb/dzXH7mS+JV43fLfulV+Wn2XvwNenCNsQ reDZsZKWGPsIEmN52vA8wqJQaB0bpMu9wRf5Yfsh/GjCbQK3p2PkZqCluCs5zEbG4koT 3wOXsELRAuXHqBRw4T3SSkJurkBKdA3tmlTcGDckRgIe/J+sZihN6/RbZ+xGxgIqpcWZ GwPIFDwolDt+2LzPUa9SgntZTXNpIOqaTPfxCuKIs3Lt589ZM4E47AP2VrQRJTOW3v1I 1gGQ== X-Gm-Message-State: AOAM531h+1d+LMz00h+EZEDzouO6TUPq3fMhv7uwN6YXaj4h2vUwn3QC uDHV5IOWr9MtsfMbi0ejarq0zlwIDTxwbdWh+kx5NUmYoIrgoJ9NsWTo8CwyERLXVgcIuwB2ebt qTk/NyGNaqeuaiA== X-Received: by 2002:adf:e742:: with SMTP id c2mr251088wrn.18.1632762198267; Mon, 27 Sep 2021 10:03:18 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyhSNGqlupuDrsuITJ488kpOwCbFYU2Adc1aVVZIz8EDu1ROfHvNkaiSnGkV6qim06FGaa2jA== X-Received: by 2002:adf:e742:: with SMTP id c2mr251077wrn.18.1632762198150; Mon, 27 Sep 2021 10:03:18 -0700 (PDT) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Willian Rampazzo , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Subject: [PULL 11/21] avocado_qemu: explicitly return None to avoid R1710 Date: Mon, 27 Sep 2021 19:02:17 +0200 Message-Id: <20210927170227.2014482-12-philmd@redhat.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210927170227.2014482-1-philmd@redhat.com> References: <20210927170227.2014482-1-philmd@redhat.com> MIME-Version: 1.0 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=philmd@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1632762205355100001 From: Willian Rampazzo The linter is complaining the `pick_default_qemu_bin` is not explicitly returning None. Fix it to explicitly return None and avoid R1710 inconsistent-return-statements. Signed-off-by: Willian Rampazzo Signed-off-by: Philippe Mathieu-Daud=C3=A9 Message-Id: <20210920204932.94132-6-willianr@redhat.com> --- tests/acceptance/avocado_qemu/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/acceptance/avocado_qemu/__init__.py b/tests/acceptance/a= vocado_qemu/__init__.py index c3613f92620..35318ce2a9c 100644 --- a/tests/acceptance/avocado_qemu/__init__.py +++ b/tests/acceptance/avocado_qemu/__init__.py @@ -72,6 +72,7 @@ def pick_default_qemu_bin(arch=3DNone): qemu_bin_relative_path) if is_readable_executable_file(qemu_bin_from_bld_dir_path): return qemu_bin_from_bld_dir_path + return None =20 =20 def _console_interaction(test, success_message, failure_message, --=20 2.31.1