aboutsummaryrefslogtreecommitdiff
path: root/pyaggr3g470r
diff options
context:
space:
mode:
authorCédric Bonhomme <kimble.mandel@gmail.com>2013-10-15 07:10:02 +0200
committerCédric Bonhomme <kimble.mandel@gmail.com>2013-10-15 07:10:02 +0200
commitd188c68cfdc50b90c5e32edcc726409d25fcf08d (patch)
tree2c6ceb3b6951139f70e246a43d8549a2f1703319 /pyaggr3g470r
parentFixed indentation error. (diff)
downloadnewspipe-d188c68cfdc50b90c5e32edcc726409d25fcf08d.tar.gz
newspipe-d188c68cfdc50b90c5e32edcc726409d25fcf08d.tar.bz2
newspipe-d188c68cfdc50b90c5e32edcc726409d25fcf08d.zip
Disabling logs in feedgetter.
Diffstat (limited to 'pyaggr3g470r')
-rw-r--r--pyaggr3g470r/feedgetter.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/pyaggr3g470r/feedgetter.py b/pyaggr3g470r/feedgetter.py
index ad4d8df6..6f8d6447 100644
--- a/pyaggr3g470r/feedgetter.py
+++ b/pyaggr3g470r/feedgetter.py
@@ -39,8 +39,8 @@ import conf
import search
import utils
-import log
-pyaggr3g470r_log = log.Log()
+#import log
+#pyaggr3g470r_log = log.Log()
list_of_threads = []
@@ -120,7 +120,7 @@ class FeedGetter(object):
description = BeautifulSoup(description, "html.parser").decode()
article_title = BeautifulSoup(article.title, "html.parser").decode()
except Exception as E:
- pyaggr3g470r_log.error("Problem when sanitizing the content of the feed: " + feed.link)
+ #pyaggr3g470r_log.error("Problem when sanitizing the content of the feed: " + feed.link)
article_title = article.title
try:
@@ -139,7 +139,7 @@ class FeedGetter(object):
search.add_to_index([article], feed)
except:
print("Whoosh error.")
- pyaggr3g470r_log.error("Whoosh error.")
+ #pyaggr3g470r_log.error("Whoosh error.")
continue
if conf.MAIL_ENABLED and feed["mail"]:
@@ -157,4 +157,4 @@ if __name__ == "__main__":
# Point of entry in execution mode
feed_getter = FeedGetter()
# Retrieve all feeds
- feed_getter.retrieve_feed() \ No newline at end of file
+ feed_getter.retrieve_feed()
bgstack15