Anton Shestakov <av6@dwimlabs.net>, Tue, 20 Sep 2016 19:47:20 +0800
templates: fix tests by excluding bits of undercooked features
candolint/queue.py
Permissions: -rw-r--r--
from __future__ import absolute_import def loop(rconn, keys, handler): key, value = rconn.blpop(keys) except KeyboardInterrupt: logging.error('%r (while handling %r)', e, value) failures.setdefault(fkey, 0) logging.error('Dropping this value (too many errors)') logging.info('Saving this value for later')