From 74a77378743564072129a656fb0cbf869937bc81 Mon Sep 17 00:00:00 2001 From: cedricbonhomme Date: Wed, 1 Jun 2011 09:40:38 +0200 Subject: Removed useless code in utils.py. Improvement of the CSStoopTip description. --- utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'utils.py') diff --git a/utils.py b/utils.py index e5fc455d..5587ce0e 100755 --- a/utils.py +++ b/utils.py @@ -103,7 +103,7 @@ def clear_string(data): """ p = re.compile(r'<[^<]*?/?>') # HTML tags q = re.compile(r'\s') # consecutive white spaces - return p.sub('', q.sub(' ', data.replace('', ''))) + return p.sub('', q.sub(' ', data)) def unescape(text): """ -- cgit