From 8363c11894f9fc724f1c5d46d115c3d5919cbc37 Mon Sep 17 00:00:00 2001 From: Devan Franchini Date: Thu, 27 Aug 2015 22:54:22 -0400 Subject: 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: -- cgit v1.2.3-65-gdbad