comparison test.py @ 36:4ad156c4dbee

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 a0d3e275c885
children
comparison
equal deleted inserted replaced
35:9805eefcb58c 36:4ad156c4dbee