Anton Shestakov <av6@dwimlabs.net>, Thu, 11 Aug 2016 20:49:37 +0800
pipelines: install dependencies, run tests and report coverage
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')