From 9a204788aea7bab0fb1bcc040f2353a483cd5aaf Mon Sep 17 00:00:00 2001 From: cedricbonhomme Date: Mon, 20 Jun 2011 19:42:07 +0200 Subject: Performance improvement (removed useless call to BeautifulSoup HTML sanitizer. --- pyAggr3g470r.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/pyAggr3g470r.py b/pyAggr3g470r.py index 5e378373..aa827d12 100755 --- a/pyAggr3g470r.py +++ b/pyAggr3g470r.py @@ -35,7 +35,6 @@ import calendar import threading from collections import Counter -from BeautifulSoup import BeautifulSoup import datetime import utils @@ -183,7 +182,6 @@ class Root: article_content = utils.clear_string(article.article_description) if article_content: description = " ".join(article_content.split(' ')[:55]) - description = str(BeautifulSoup(description)) else: description = "No description." # Title of the article -- cgit