--- 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):