Convert to []-style list comprehensions to quiet pyflakes
(imported from commit d81ec98552846d8af71394c7c530aadc53f77127)
This commit is contained in:
parent
a2f3816fdc
commit
fc3a4a6ac0
|
@ -149,7 +149,7 @@ def zephyr_bulk_subscribe(subs):
|
||||||
# retrying the next time the bot checks its subscriptions are
|
# retrying the next time the bot checks its subscriptions are
|
||||||
# up to date.
|
# up to date.
|
||||||
logger.exception("Error subscribing to streams (will retry automatically):")
|
logger.exception("Error subscribing to streams (will retry automatically):")
|
||||||
logging.warning("Streams were: %s" % (list(cls for cls, instance, recipient in subs),))
|
logging.warning("Streams were: %s" % ([cls for cls, instance, recipient in subs],))
|
||||||
return
|
return
|
||||||
try:
|
try:
|
||||||
actual_zephyr_subs = [cls for (cls, _, _) in zephyr._z.getSubscriptions()]
|
actual_zephyr_subs = [cls for (cls, _, _) in zephyr._z.getSubscriptions()]
|
||||||
|
|
Loading…
Reference in a new issue