Skip to content

Commit 0a2c258

Browse files
committed
Merge pull request #1920 from jakirkham/pep8_e712_fix
STY: Fix PEP8 - E712 linting error (fixes tests)
2 parents 68cfde3 + 48f2099 commit 0a2c258

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

readthedocs/doc_builder/environments.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -450,7 +450,7 @@ def __enter__(self):
450450
# locking code, so we throw an exception.
451451
state = self.container_state()
452452
if state is not None:
453-
if state.get('Running') == True:
453+
if state.get('Running') is True:
454454
exc = BuildEnvironmentError(
455455
_('A build environment is currently '
456456
'running for this version'))

0 commit comments

Comments
 (0)