From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 4B1891399CF for ; Fri, 28 Aug 2015 03:43:30 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EDFDC14354; Fri, 28 Aug 2015 03:43:27 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 68EAB14354 for ; Fri, 28 Aug 2015 03:43:27 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 3DF93340BC4 for ; Fri, 28 Aug 2015 03:43:26 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 001BB13B for ; Fri, 28 Aug 2015 03:43:24 +0000 (UTC) From: "Devan Franchini" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Devan Franchini" Message-ID: <1440730466.8363c11894f9fc724f1c5d46d115c3d5919cbc37.twitch153@gentoo> Subject: [gentoo-commits] proj/layman:master commit in: layman/overlays/ X-VCS-Repository: proj/layman X-VCS-Files: layman/overlays/overlay.py X-VCS-Directories: layman/overlays/ X-VCS-Committer: twitch153 X-VCS-Committer-Name: Devan Franchini X-VCS-Revision: 8363c11894f9fc724f1c5d46d115c3d5919cbc37 X-VCS-Branch: master Date: Fri, 28 Aug 2015 03:43:24 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 46151ffa-3253-409c-be9f-d734edef555a X-Archives-Hash: 9080040249adee6af0aa99deb285e54e commit: 8363c11894f9fc724f1c5d46d115c3d5919cbc37 Author: Devan Franchini gentoo org> AuthorDate: Fri Aug 28 02:54:22 2015 +0000 Commit: Devan Franchini gentoo org> CommitDate: Fri Aug 28 02:54:26 2015 +0000 URL: https://gitweb.gentoo.org/proj/layman.git/commit/?id=8363c118 overlay.py: Modifies __eq__ attribute requirements The previous method still made use of owner_name and owner_email to see if the two were equal while it should've been checking for the "owners" overlay attribute. layman/overlays/overlay.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/layman/overlays/overlay.py b/layman/overlays/overlay.py index 11536d4..8052d4c 100755 --- a/layman/overlays/overlay.py +++ b/layman/overlays/overlay.py @@ -76,8 +76,8 @@ class Overlay(object): def __eq__(self, other): - for i in ('descriptions', 'homepage', 'name', 'owner_email', - 'owner_name', 'priority', 'status'): + for i in ('descriptions', 'homepage', 'name', 'owners', 'priority', + 'status'): if getattr(self, i) != getattr(other, i): return False for i in self.sources + other.sources: