Commits

Ginés Martínez Sánchez committed 4365e9c Draft

Added __str__ description to Event class

Comments (0)

Files changed (1)

         self.kw = kw
         self.__dict__.update(**kw)
 
+    def __str__(self):
+        return 'Event object: name %s, destination: %s, kw: %s' % (
+            self.event_name,
+            self.destination,
+            self.kw,
+        )
+
 
 class _Subscription(object):
     """ Collect subscriber properties