server/sources/__init__.py
changeset 10651 9ca33768473c
parent 10622 3cc6154b94a3
parent 10576 1ee631aedf2f
child 10832 2350424585f8
--- a/server/sources/__init__.py	Mon Sep 14 11:15:47 2015 +0200
+++ b/server/sources/__init__.py	Mon Oct 12 10:53:35 2015 +0200
@@ -132,6 +132,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
@@ -405,7 +408,7 @@
     # system source interface #################################################
 
     def eid_type_source(self, cnx, eid):
-        """return a tuple (type, source, extid) for the entity with id <eid>"""
+        """return a tuple (type, extid, source) for the entity with id <eid>"""
         raise NotImplementedError(self)
 
     def create_eid(self, cnx):