From d3066a46d3a89d20b7b0010ff07cb512f4e38041 Mon Sep 17 00:00:00 2001 From: Tim Abbott Date: Wed, 7 Nov 2012 15:42:32 -0500 Subject: [PATCH] The empty string shouldn't be a valid stream name. (imported from commit 1fa878d7d51d3c3444ac75edf08b32f886683964) --- bots/zephyr_mirror.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bots/zephyr_mirror.py b/bots/zephyr_mirror.py index c40fec1..6bb454c 100755 --- a/bots/zephyr_mirror.py +++ b/bots/zephyr_mirror.py @@ -511,7 +511,7 @@ web interface. print def valid_stream_name(name): - return True + return name != "" def parse_zephyr_subs(verbose=False): zephyr_subscriptions = set()