From nobody Mon Sep 16 20:07:53 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) client-ip=209.132.183.28; envelope-from=patchew-devel-bounces@redhat.com; helo=mx1.redhat.com; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=patchew-devel-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mx.zohomail.com with SMTPS id 1520501958107220.11160406099566; Thu, 8 Mar 2018 01:39:18 -0800 (PST) Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 3DBD1C057FA1; Thu, 8 Mar 2018 09:39:17 +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 31D026134A; Thu, 8 Mar 2018 09:39:17 +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 264341808850; Thu, 8 Mar 2018 09:39:17 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id w289dGFd018865 for ; Thu, 8 Mar 2018 04:39:16 -0500 Received: by smtp.corp.redhat.com (Postfix) id 6186B60F87; Thu, 8 Mar 2018 09:39:16 +0000 (UTC) Received: from mx1.redhat.com (ext-mx10.extmail.prod.ext.phx2.redhat.com [10.5.110.39]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 5C7E89F74 for ; Thu, 8 Mar 2018 09:39:13 +0000 (UTC) Received: from mail-wr0-f196.google.com (mail-wr0-f196.google.com [209.85.128.196]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 0E4135AFC4 for ; Thu, 8 Mar 2018 09:39:12 +0000 (UTC) Received: by mail-wr0-f196.google.com with SMTP id m12so4944811wrm.13 for ; Thu, 08 Mar 2018 01:39:11 -0800 (PST) Received: from donizetti.lan (94-36-191-219.adsl-ull.clienti.tiscali.it. [94.36.191.219]) by smtp.gmail.com with ESMTPSA id l33sm2611066wrl.43.2018.03.08.01.39.09 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 08 Mar 2018 01:39:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:subject:date:message-id:in-reply-to:references; bh=7L348JoCRH8DnUkwoUZg3SR4DLb9f3y6xG5Hg1IMm/4=; b=IcfEIZ9Ob49EcX3qrzcOcxb6QMYZ4zhP90s4GTMbbIhk5uT28hX1LkVxD9pDT+DViU NOPdEyvvwkdPxk7ELow70g2j8uOarvVQ1pVOCP4n2oQaMVs/ZUZpwH47vDNqPtNWXYQU LWuckETV3GIqyNBdA9z+F+IRfi7gKRHi87VH3tXNILuS1Qv7YuGE0rCgETNM5Ds/4dle l/JA+Lqj60/Lhf8vdNSrlkZo7bEdedXZZLUhm4L2DIHaZBqPR1yJsi8sFomb9LynFtQP FqTCHxYGRJQlz4QfjCNzJ5vq7OmNXU5RVHNHJ+tLonsqHzb1rbKreaxO6+Zzb8UGt7tP Pg1w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:subject:date:message-id :in-reply-to:references; bh=7L348JoCRH8DnUkwoUZg3SR4DLb9f3y6xG5Hg1IMm/4=; b=H1oyCm/YKQJDVVTMH/v9hrmFVBR787p64d3ADCa2LliXyXq6U7+3QvocBSmOdmrK+R QyAdo/tASh7iRd5tEd/LPbi/EHe+G1M/yoiQZp/G8K3eu4KriOGN3jQ9SryjWmYEXB9f CC1v7f5hKk9r/5W0PelztfJHufLXpVcWrC8Dd+b3KD7Q4hCq41rOdTilJFzhSOeAS/cn Mss4Y6v6E1/qDh6gkyjOeRmseXeRCSBsd/oDZrc8XvstNtKHXbGYBAO754GVwgNC40Nk U96e5mzLQgnZUAEsOxNBNXvBoY5tBRY1TNqqqaLZY8PUd5XWxaknvwIn9SmIIkUyhbHx Ry1A== X-Gm-Message-State: APf1xPARhf6bqH9PKm/XIHZE3v1up3ZztR0VteK7e92KbDFoiHU/5UD9 ZuNKvQ87I76MYIA+8SO/aw1LiGy1 X-Google-Smtp-Source: AG47ELsLpM3SLpYKw06NkqT3CckhV4qpaAZ/2slGpo8PkC9+mKVYNdqxDico9wvnUkToNUYx/Veitg== X-Received: by 10.223.171.6 with SMTP id q6mr23436882wrc.267.1520501950371; Thu, 08 Mar 2018 01:39:10 -0800 (PST) From: Paolo Bonzini To: patchew-devel@redhat.com Date: Thu, 8 Mar 2018 10:39:06 +0100 Message-Id: <20180308093906.28593-4-pbonzini@redhat.com> In-Reply-To: <20180308093906.28593-1-pbonzini@redhat.com> References: <20180308093906.28593-1-pbonzini@redhat.com> X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.39]); Thu, 08 Mar 2018 09:39:12 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.39]); Thu, 08 Mar 2018 09:39:12 +0000 (UTC) for IP:'209.85.128.196' DOMAIN:'mail-wr0-f196.google.com' HELO:'mail-wr0-f196.google.com' FROM:'paolo.bonzini@gmail.com' RCPT:'' X-RedHat-Spam-Score: 0.488 (DKIM_SIGNED, DKIM_VALID, FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_PASS) 209.85.128.196 mail-wr0-f196.google.com 209.85.128.196 mail-wr0-f196.google.com X-RedHat-Possible-Forgery: Paolo Bonzini X-Scanned-By: MIMEDefang 2.78 on 10.5.110.39 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-loop: patchew-devel@redhat.com Subject: [Patchew-devel] [PATCH 3/3] drop maintainers property 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: , MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Sender: patchew-devel-bounces@redhat.com Errors-To: patchew-devel-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.32]); Thu, 08 Mar 2018 09:39:17 +0000 (UTC) X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZohoMail: RDKM_2 RSF_0 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" This is not needed after the database is migrated to the new format. Signed-off-by: Paolo Bonzini --- api/models.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/api/models.py b/api/models.py index 180d6e3..f663783 100644 --- a/api/models.py +++ b/api/models.py @@ -126,8 +126,7 @@ class Project(models.Model): def maintained_by(self, user): if user.is_superuser: return True - if self.maintainers.filter(id=3Duser.id).exists() or \ - self.get_property("maintainers", []): + if self.maintainers.filter(id=3Duser.id).exists(): return True return False =20 --=20 2.14.3 _______________________________________________ Patchew-devel mailing list Patchew-devel@redhat.com https://www.redhat.com/mailman/listinfo/patchew-devel