mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Fix style-checker errors
This commit is contained in:
parent
b81f24e0b6
commit
d7113586f1
@ -43,7 +43,7 @@ def test_correct_year():
|
|||||||
|
|
||||||
finally:
|
finally:
|
||||||
# Restores SOURCE_DATE_EPOCH
|
# Restores SOURCE_DATE_EPOCH
|
||||||
if sde == None:
|
if sde is None:
|
||||||
os.environ.pop('SOURCE_DATE_EPOCH', None)
|
os.environ.pop('SOURCE_DATE_EPOCH', None)
|
||||||
else:
|
else:
|
||||||
os.environ['SOURCE_DATE_EPOCH'] = sde
|
os.environ['SOURCE_DATE_EPOCH'] = sde
|
||||||
|
Loading…
Reference in New Issue
Block a user