summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--CHANGES2
-rw-r--r--layman/overlays/overlay.py4
2 files changed, 3 insertions, 3 deletions
diff --git a/CHANGES b/CHANGES
index fb820cc..18acabe 100644
--- a/CHANGES
+++ b/CHANGES
@@ -4,8 +4,6 @@ CHANGES
Version TODO
===================================
- - TODO make test suite work again
-
- Add support for several sources per overlay (also fixes #280472)
On addition all sources will be probed until a working
one is found. This should help Layman through many firewalls.
diff --git a/layman/overlays/overlay.py b/layman/overlays/overlay.py
index c6c7d64..93cf009 100644
--- a/layman/overlays/overlay.py
+++ b/layman/overlays/overlay.py
@@ -190,9 +190,11 @@ class Overlay(object):
def __eq__(self, other):
for i in ('description', 'homepage', 'name', 'owner_email',
- 'owner_name', 'priority', 'src', 'status'):
+ 'owner_name', 'priority', 'status'):
if getattr(self, i) != getattr(other, i):
return False
+ if set(self.source_uris()) != set(other.source_uris()):
+ return False
return True
def __ne__(self, other):