summaryrefslogtreecommitdiffstats
path: root/layman/overlays/cvs.py
diff options
context:
space:
mode:
Diffstat (limited to 'layman/overlays/cvs.py')
-rw-r--r--layman/overlays/cvs.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/layman/overlays/cvs.py b/layman/overlays/cvs.py
index a4ff74d..a9c4f0f 100644
--- a/layman/overlays/cvs.py
+++ b/layman/overlays/cvs.py
@@ -48,6 +48,14 @@ class CvsOverlay(Overlay):
else:
self.subpath = ''
+ def __eq__(self, other):
+ res = super(CvsOverlay, self).__eq__(other) \
+ and self.subpath == other.subpath
+ return res
+
+ def __ne__(self, other):
+ return not self.__eq__(other)
+
def add(self, base, quiet = False):
'''Add overlay.'''