Skip to content

Commit

Permalink
code cleanup, prepare for release
Browse files Browse the repository at this point in the history
  • Loading branch information
Simone Marzola committed May 19, 2015
1 parent caf24c6 commit a7bddaa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion anypubsub/backends/memory.py
Expand Up @@ -30,7 +30,7 @@ def __init__(self, queue_factory=Queue):
self.queue_factory = queue_factory

def publish(self, channel, message):
subscribers = self.subscribers.get(channel, [])
subscribers = self.subscribers[channel]
for subscriber in subscribers:
subscriber.put(message)
return len(subscribers)
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Expand Up @@ -24,7 +24,7 @@

setup(
name='anypubsub',
version='0.4',
version='0.5',
description="A generic interface wrapping multiple backends to provide a consistent pubsub API.",
long_description=README,
# Get strings from http://pypi.python.org/pypi?%3Aaction=list_classifiers
Expand Down

0 comments on commit a7bddaa

Please sign in to comment.