From 84b9a959a8fcbf889628730942e3320e79c71bce Mon Sep 17 00:00:00 2001 From: Henrik Levkowetz Date: Thu, 14 Jun 2007 23:45:15 +0000 Subject: [PATCH] Backing out the previous change so I can commit it with proper comments...(3) - Legacy-Id: 389 --- ietf/tests.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ietf/tests.py b/ietf/tests.py index 48f442a72..fd0158753 100644 --- a/ietf/tests.py +++ b/ietf/tests.py @@ -22,12 +22,11 @@ def run_tests(module_list, verbosity=1, extra_tests=[]): return django.test.simple.run_tests(module_list, verbosity, extra_tests) def reduce(html): - html = re.sub(" :", ": ", html) + html = re.sub(" :", ":", html) if html.count("
  • ") > 5*html.count("
  • "): html = html.replace("
  • ", "
  • ") text = html2text(html) text = re.sub('\."', '".', text) - text = re.sub(',"', '",', text) text = [ line.strip() for line in text.split("\n") ] return text