zephyr_mirror: Support subscribing to non-ascii Zephyr classes.

(imported from commit 85437f09c4738df11208e623db566a9409e501a3)
This commit is contained in:
Tim Abbott 2012-11-07 16:36:54 -05:00
parent 3db339da35
commit 1dba0c0344

View file

@ -157,7 +157,7 @@ def update_subscriptions_from_humbug():
for stream in streams:
if stream in current_zephyr_subs:
continue
streams_to_subscribe.append((stream, "*", "*"))
streams_to_subscribe.append((stream.encode("utf-8"), "*", "*"))
zephyr_bulk_subscribe(streams_to_subscribe)
def maybe_restart_mirroring_script():