Checking if rtd pickling is ok.

This commit is contained in:
Ahmet Bakan 2015-05-03 11:35:39 -07:00
parent e3fb90c17d
commit c7dad13d22

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'):