Skip to content

Commit

Permalink
Don't enforce brownouts on tests (#11259)
Browse files Browse the repository at this point in the history
* Don't enforce brownouts on tests

* Linter
  • Loading branch information
stsewd committed Apr 1, 2024
1 parent 533b903 commit 25d97e5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion readthedocs/vcs_support/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

import pytz
import structlog
from django.conf import settings

from readthedocs.core.utils.filesystem import safe_rmtree
from readthedocs.doc_builder.exceptions import BuildCancelled, BuildUserError
Expand Down Expand Up @@ -54,7 +55,7 @@ def __init__(self, *args, **kwargs):
])
# fmt: on

if disabled:
if settings.RTD_ENFORCE_BROWNOUTS_FOR_DEPRECATIONS and disabled:
from .backends import bzr, hg, svn

vcs = None
Expand Down

0 comments on commit 25d97e5

Please sign in to comment.