changeset 35:9805eefcb58c

Forgot return
author btimby
date Sun, 20 May 2012 01:08:16 +0000
parents 39295953624f
children 4ad156c4dbee
files queues/backends/redisd.py
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/queues/backends/redisd.py	Tue May 15 20:58:27 2012 +0000
+++ b/queues/backends/redisd.py	Sun May 20 01:08:16 2012 +0000
@@ -75,6 +75,7 @@
                 m = self._connection.lpop(self.name)
             if m is None:
                 raise QueueException('Queue is empty')
+            return m
         except redis.RedisError, e:
             raise QueueException(str(e))