diff --git a/coolamqp/clustering/events.py b/coolamqp/clustering/events.py index a45f896a4be921fee81274bc5b472ea0fd3a609a..d18c3d39be760fdd1e3562c1a17a68d24f2563c3 100644 --- a/coolamqp/clustering/events.py +++ b/coolamqp/clustering/events.py @@ -19,20 +19,12 @@ class Event(object): An event emitted by Cluster """ -class Timestamped(Event): - """ - Notes the time of the event (as result of .monotonic) - """ - def __init__(self): - super(Timestamped, self).__init__() - self.ts = monotonic.monotonic() - class NothingMuch(Event): """Nothing happened :D""" -class ConnectionLost(Timestamped): +class ConnectionLost(Event): """ We have lost the connection. @@ -45,7 +37,7 @@ class ConnectionLost(Timestamped): """ -class MessageReceived(ReceivedMessage, Timestamped): +class MessageReceived(ReceivedMessage, Event): """ Something that works as an ersatz ReceivedMessage, but is an event """ @@ -54,4 +46,3 @@ class MessageReceived(ReceivedMessage, Timestamped): ReceivedMessage.__init__(self, msg.body, msg.exchange_name, msg.routing_key, properties=msg.properties, delivery_tag=msg.delivery_tag, ack=msg.ack, nack=msg.nack) - Timestamped.__init__(self) diff --git a/setup.py b/setup.py index 50a50c49b0047e2da29974e722603c4fabaf8e43..46dd47bdb17273bb2de956dc6045fb39d3ec3ce2 100644 --- a/setup.py +++ b/setup.py @@ -5,7 +5,7 @@ from setuptools import setup setup(name=u'CoolAMQP', version='0.89', - description=u'The fastest AMQP client', + description=u'Very fast pure-Python AMQP client', author=u'DMS Serwis s.c.', author_email=u'piotrm@smok.co', url=u'https://github.com/smok-serwis/coolamqp',