1.1 --- a/EventAggregatorSupport.py Wed Feb 24 02:06:36 2010 +0100
1.2 +++ b/EventAggregatorSupport.py Thu Feb 25 01:02:38 2010 +0100
1.3 @@ -35,7 +35,7 @@
1.4
1.5 # Page parsing.
1.6
1.7 -definition_list_regexp = re.compile(ur'(?P<wholeterm>^(?P<optcomment>#*)\s+(?P<term>.*?)::\s)(?P<desc>.*?)$', re.UNICODE | re.MULTILINE)
1.8 +definition_list_regexp = re.compile(ur'(?P<wholeterm>^(?P<optcomment>#*)\s+(?P<term>.*?):: )(?P<desc>.*?)$', re.UNICODE | re.MULTILINE)
1.9 category_membership_regexp = re.compile(ur"^\s*((Category\S+)(\s+Category\S+)*)\s*$", re.MULTILINE | re.UNICODE)
1.10
1.11 # Value parsing.
1.12 @@ -288,7 +288,7 @@
1.13 # Lists (whose elements may be quoted).
1.14
1.15 elif term in ("topics", "categories"):
1.16 - desc = [getSimpleWikiText(value.strip()) for value in desc.split(",")]
1.17 + desc = [getSimpleWikiText(value.strip()) for value in desc.split(",") if value.strip()]
1.18
1.19 # Labels which may well be quoted.
1.20