server/sources/__init__.py
branchstable
changeset 8228 fe53c7e1625f
parent 8134 7f93da785e3a
child 8544 3d049071957e
--- a/server/sources/__init__.py	Mon Feb 13 12:49:49 2012 +0100
+++ b/server/sources/__init__.py	Mon Feb 13 15:15:24 2012 +0100
@@ -135,7 +135,8 @@
         source_config.pop('type')
 
     def __repr__(self):
-        return '<%s source %s @%#x>' % (self.uri, self.eid, id(self))
+        return '<%s %s source %s @%#x>' % (self.uri, self.__class__.__name__,
+                                           self.eid, id(self))
 
     def __cmp__(self, other):
         """simple comparison function to get predictable source order, with the