aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorW. Trevor King <wking@drexel.edu>2009-09-26 12:39:37 -0400
committerW. Trevor King <wking@drexel.edu>2009-09-26 12:39:37 -0400
commit7ec39c25f302c4b1056885c26508e20200494df6 (patch)
tree3f79b979b12327a752bdeb0ff739167dbe5cf8a7
parent7850d9bdbb10cf1a1aa07458c20d28bd9a2e0e9b (diff)
downloadbugseverywhere-7ec39c25f302c4b1056885c26508e20200494df6.tar.gz
Fixed invalid TAG error in becommands.subscribe.get_subscribers()
Check that the string has the right tag before attempting to parse it :p.
-rw-r--r--becommands/subscribe.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/becommands/subscribe.py b/becommands/subscribe.py
index 2522f0c..0a23057 100644
--- a/becommands/subscribe.py
+++ b/becommands/subscribe.py
@@ -325,6 +325,8 @@ def get_subscribers(extra_strings, type, server, type_root,
['Jane Doe <J@doe.com>', 'John Doe <j@doe.com>']
"""
for string in extra_strings:
+ if not string.startswith(TAG):
+ continue
subscriber,types,servers = _parse_string(string, type_root)
type_match = False
if type in types: