diff options
-rw-r--r-- | CHANGES | 2 | ||||
-rw-r--r-- | layman/overlays/overlay.py | 4 |
2 files changed, 3 insertions, 3 deletions
@@ -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): |