From b9867670af8ab1e35933f60842e43db02dd66b6a Mon Sep 17 00:00:00 2001 From: root Date: Fri, 12 Nov 2010 11:09:07 -0800 Subject: [PATCH] unify env syntax --- doc/source/conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/source/conf.py b/doc/source/conf.py index f2e768d710a1..ef447ca81732 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -29,7 +29,7 @@ extensions = ['sphinx.ext.autodoc', 'sphinx.ext.intersphinx', 'ext.nova_todo', ' # autodoc generation is a bit aggressive and a nuisance when doing heavy text edit cycles. # execute "export SPHINX_DEBUG=1" in your terminal to disable -if 'SPHINX_DEBUG' not in os.environ.keys(): +if not os.getenv('SPHINX_DEBUG'): extensions += ['ext.nova_autodoc'] todo_include_todos = True