Skip to content
Snippets Groups Projects
Commit f7fee4d7 authored by Piotr Maślanka's avatar Piotr Maślanka
Browse files

empty exchange is called '' not None

parent 99069aa6
No related branches found
No related tags found
No related merge requests found
...@@ -83,7 +83,7 @@ class Cluster(object): ...@@ -83,7 +83,7 @@ class Cluster(object):
from .handler import ClusterHandlerThread from .handler import ClusterHandlerThread
self.thread = ClusterHandlerThread(self) self.thread = ClusterHandlerThread(self)
def send(self, message, exchange=None, routing_key='', on_completed=None, on_failed=None): def send(self, message, exchange='', routing_key='', on_completed=None, on_failed=None):
""" """
Schedule a message to be sent. Schedule a message to be sent.
:param message: Message object to send :param message: Message object to send
......
...@@ -2,12 +2,6 @@ ...@@ -2,12 +2,6 @@
# coding=UTF-8 # coding=UTF-8
from setuptools import setup from setuptools import setup
def reqs():
with open('requirements.txt', 'r') as fin:
return [q.strip() for q in fin.readlines() if len(q.strip()) > 0]
setup(name='CoolAMQP', setup(name='CoolAMQP',
version='0.9', version='0.9',
description='AMQP client with sane reconnects', description='AMQP client with sane reconnects',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment