Checking if pickling on rtd is fine.

This commit is contained in:
Ahmet Bakan 2015-05-03 11:54:22 -07:00
parent 81da7a63dd
commit 763ab12eb0

View file

@ -248,7 +248,7 @@ def process_posts(app, doctree):
environment."""
env = app.builder.env
if os.environ.get('READTHEDOCS', None):
if os.environ.get('READTHEDOCS', None) and 0:
env.topickle = lambda *args: env.warn('index',
'Building on Read The Docs, environment is not being pickled.')
if not hasattr(env, 'ablog_posts'):