simplify RTD env check

This commit is contained in:
Antoine Beaupré 2015-10-08 08:23:37 -04:00
parent 8190e33a64
commit 7ccf6b32a6
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ if my_python < min_python:
sys.exit(1)
# Are we building on ReadTheDocs?
on_rtd = os.environ.get('READTHEDOCS', None) == 'True'
on_rtd = os.environ.get('READTHEDOCS')
# msgpack pure python data corruption was fixed in 0.4.6.
# Also, we might use some rather recent API features.