Skip to content

Commit 84b9a95

Browse files
committed
Backing out the previous change so I can commit it with proper comments...(3)
- Legacy-Id: 389
1 parent d17dc96 commit 84b9a95

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

ietf/tests.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,11 @@ def run_tests(module_list, verbosity=1, extra_tests=[]):
2222
return django.test.simple.run_tests(module_list, verbosity, extra_tests)
2323

2424
def reduce(html):
25-
html = re.sub(" :", ": ", html)
25+
html = re.sub(" :", ":", html)
2626
if html.count("<li>") > 5*html.count("</li>"):
2727
html = html.replace("<li>", "</li><li>")
2828
text = html2text(html)
2929
text = re.sub('\."', '".', text)
30-
text = re.sub(',"', '",', text)
3130
text = [ line.strip() for line in text.split("\n") ]
3231
return text
3332

0 commit comments

Comments
 (0)