blpop returns a tuple (queue_name, item) on success, on timeout, None, we need to handle both cases.
author |
btimby |
date |
Sun, 20 May 2012 01:49:11 +0000 |
parents |
336011507f75 |
children |
|
rev |
line source |
mcroydon@1
|
1 #!/usr/bin/env python
|
mcroydon@1
|
2
|
mcroydon@1
|
3 from distutils.core import setup
|
mcroydon@9
|
4
|
mcroydon@1
|
5 setup(name='queues',
|
mcroydon@27
|
6 version='0.6.2',
|
mcroydon@1
|
7 description='A lowest-common-denominator API for interacting with lightweight queue services.',
|
mcroydon@1
|
8 author='Matt Croydon',
|
mcroydon@1
|
9 author_email='mcroydon@gmail.com',
|
mcroydon@5
|
10 url='http://code.google.com/p/queues/',
|
mcroydon@1
|
11 packages=['queues', 'queues.backends'],
|
mcroydon@3
|
12 py_modules=['test'],
|
mcroydon@1
|
13 package_dir={'queues': 'queues'},
|
mcroydon@1
|
14 )
|