From nobody Mon Dec 30 17:14:27 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 170.10.129.124 as permitted sender) client-ip=170.10.129.124; envelope-from=patchew-devel-bounces@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.129.124 as permitted sender) smtp.mailfrom=patchew-devel-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1645522204; cv=none; d=zohomail.com; s=zohoarc; b=VBRCF3iSdt/xv9qzrz5nO9njUsbBG4bsysfVeU6vDw/N+7w0vCHg3SWGd9r56KaWWgfOSN+4V59X6CMXsdrBSti0FuQfhbShUzV+/CRaBNTx+sIW+/NP6/ohaYtVonL5NdS2RoTwgjZKE6Ez3PZ1f0DRYR0Bx5wh8WhgYCiGwf4= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1645522204; h=Content-Type:Content-Transfer-Encoding:Date:From:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:To; bh=JYyecehljcCTy1by8HEo3Od0K6fKwGTLwFT2uCHPuXs=; b=jdnHwhu1VePFvGxdxH/zmdJw6n1ysghHWJVgk3tRGBxsE/RH/fFA2Eg5Y/2p4GovX+DPyIRH3hDGLCyevIGefQmDbss22tC5AMD62p47J5ztezGLDGn/Aj70DHWKWijsBLIL1gDQPpqt2gpVuxtY0tjwE7FJcRij3oziU84iJBs= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.129.124 as permitted sender) smtp.mailfrom=patchew-devel-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mx.zohomail.com with SMTPS id 1645522204590653.88593312342; Tue, 22 Feb 2022 01:30:04 -0800 (PST) Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-81-0wryFWEsNoWuHihhOqqZuQ-1; Tue, 22 Feb 2022 04:30:02 -0500 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 2074E1854E2B; Tue, 22 Feb 2022 09:30:01 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.20]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 17DA12B3C0; Tue, 22 Feb 2022 09:30:01 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id 0E8FD1809C98; Tue, 22 Feb 2022 09:30:01 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 21M9U0Ph012560 for ; Tue, 22 Feb 2022 04:30:00 -0500 Received: by smtp.corp.redhat.com (Postfix) id 16C6E5ED29; Tue, 22 Feb 2022 09:30:00 +0000 (UTC) Received: from avogadro.lan (unknown [10.39.195.136]) by smtp.corp.redhat.com (Postfix) with ESMTP id 744946C932 for ; Tue, 22 Feb 2022 09:29:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1645522203; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=JYyecehljcCTy1by8HEo3Od0K6fKwGTLwFT2uCHPuXs=; b=V64VauYTJP+jwOPHaKSQOkz1wNnODRycAlGOu3hUFNcy8YIqTtBgYu232UL2CwhPqBghfy ruHoP+s4skAO8MKnULDCYtCdsg0lV4k1m2B6FIoGm52YkOQp7nZiIMFQWyATam0srsVbVu rPs6c3yYzbwxh3SWNOSXJpQb34T84vU= X-MC-Unique: 0wryFWEsNoWuHihhOqqZuQ-1 From: Paolo Bonzini To: patchew-devel@redhat.com Date: Tue, 22 Feb 2022 10:29:38 +0100 Message-Id: <20220222092938.161397-4-pbonzini@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 X-loop: patchew-devel@redhat.com Subject: [Patchew-devel] [PATCH] maintainer: fix "drop from queue" if there is no message X-BeenThere: patchew-devel@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Patchew development and discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: patchew-devel-bounces@redhat.com Errors-To: patchew-devel-bounces@redhat.com X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=patchew-devel-bounces@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1645522206051100001 Content-Type: text/plain; charset="utf-8" This should not happen, but the code is wrong nevertheless. Signed-off-by: Paolo Bonzini --- mods/maintainer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mods/maintainer.py b/mods/maintainer.py index af85f14..ec49335 100644 --- a/mods/maintainer.py +++ b/mods/maintainer.py @@ -54,7 +54,7 @@ class MaintainerModule(PatchewModule): ) for q in query: emit_event("MessageDropping", user=3Duser, message=3Dq.message= , queue=3Dq) - q.delete() + query.delete() =20 def _update_watch_queue(self, series): se =3D SearchEngine() --=20 2.34.1 _______________________________________________ Patchew-devel mailing list Patchew-devel@redhat.com https://listman.redhat.com/mailman/listinfo/patchew-devel