From f65b130b45d73159ecf528562a994923b072745c Mon Sep 17 00:00:00 2001 From: Tim Abbott Date: Wed, 2 Jan 2013 10:22:08 -0500 Subject: [PATCH] zmirror: Fix printing of list of stream failures. (imported from commit 0d573b412809263dbbacdf1b475adac440dae352) --- bots/zephyr_mirror_backend.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bots/zephyr_mirror_backend.py b/bots/zephyr_mirror_backend.py index a9bbde4..f259920 100755 --- a/bots/zephyr_mirror_backend.py +++ b/bots/zephyr_mirror_backend.py @@ -149,7 +149,7 @@ def zephyr_bulk_subscribe(subs): # retrying the next time the bot checks its subscriptions are # up to date. logger.exception("Error subscribing to streams (will retry automatically):") - logging.warning("Streams were: %s" % ((cls for cls, instance, recipient in subs),)) + logging.warning("Streams were: %s" % (list(cls for cls, instance, recipient in subs),)) return try: actual_zephyr_subs = [cls for (cls, _, _) in zephyr._z.getSubscriptions()]