1
0
Fork 0
mirror of https://github.com/borgbackup/borg.git synced 2024-12-23 00:07:38 +00:00

simplify RTD env check

This commit is contained in:
Antoine Beaupré 2015-10-08 08:23:37 -04:00
parent 8190e33a64
commit 7ccf6b32a6

View file

@ -16,7 +16,7 @@
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.