aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2015-03-01 19:07:31 +0100
committerCédric Bonhomme <cedric@cedricbonhomme.org>2015-03-01 19:07:31 +0100
commit2d05b4853ef8cf77389d99b7b6cd34f13986aa1e (patch)
tree00e84d57e0bb285324312f98fd205e8281efb9ea
parentRemoved the functionality for the email notifications of new articles. No rea... (diff)
downloadnewspipe-2d05b4853ef8cf77389d99b7b6cd34f13986aa1e.tar.gz
newspipe-2d05b4853ef8cf77389d99b7b6cd34f13986aa1e.tar.bz2
newspipe-2d05b4853ef8cf77389d99b7b6cd34f13986aa1e.zip
This is now useless.
-rw-r--r--bootstrap.py10
1 files changed, 0 insertions, 10 deletions
diff --git a/bootstrap.py b/bootstrap.py
index d13d4799..85bac49b 100644
--- a/bootstrap.py
+++ b/bootstrap.py
@@ -1,18 +1,8 @@
# required imports and code exection for basic functionning
-import sys
-if 'threading' in sys.modules:
- raise Exception('threading module loaded before patching!')
import conf
import logging
-if not (conf.WEBSERVER_DEBUG or conf.ON_HEROKU):
- import gevent.monkey
- gevent.monkey.patch_thread()
-
-
-
-
def set_logging(log_path, log_level=logging.INFO,
log_format='%(asctime)s %(levelname)s %(message)s'):
logger = logging.getLogger('pyaggr3g470r')
bgstack15