server/sources/__init__.py
changeset 10576 1ee631aedf2f
parent 10575 036f5964e6fe
child 10651 9ca33768473c
--- a/server/sources/__init__.py	Fri Jul 24 16:09:37 2015 +0200
+++ b/server/sources/__init__.py	Fri Jul 24 16:09:29 2015 +0200
@@ -128,6 +128,9 @@
     def __eq__(self, other):
         return self.uri == other.uri
 
+    def __ne__(self, other):
+        return not (self == other)
+
     def backup(self, backupfile, confirm, format='native'):
         """method called to create a backup of source's data"""
         pass