From 5f8a2952e9f945523339989653c41a3347abff04 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9gis=20Behmo?= Date: Tue, 26 Jan 2021 14:25:49 +0100 Subject: [PATCH] Fix `ERROR_ON_DEPRECATED_EDX_PLATFORM_IMPORTS` code annotation This annotation was causing a linting failure, and a TypeError down the road in the feature toggle report processing step by edx-toggles/scripts/feature_toggle_report.py. --- cms/envs/common.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/cms/envs/common.py b/cms/envs/common.py index 4794155453..108a722657 100644 --- a/cms/envs/common.py +++ b/cms/envs/common.py @@ -2326,13 +2326,13 @@ DEFAULT_EMAIL_LOGO_URL = 'https://edx-cdn.org/v3/default/logo.png' # .. toggle_name: ERROR_ON_DEPRECATED_EDX_PLATFORM_IMPORTS # .. toggle_implementation: DjangoSetting # .. toggle_default: False -# .. toggle_use_cases: rollout +# .. toggle_use_cases: temporary # .. toggle_creation_date: 2021-01-20 # .. toggle_target_removal_date: 2021-01-27 # .. toggle_tickets: https://github.com/edx/edx-platform/pull/25932 # .. toggle_description: Whether to raise an exception where, -# normally, a DeprecatedEdxPlatformImportWarning would be raised. -# This will allow us to test dropping support for the deprecated -# import paths without yet removing all of the import_shims -# machinery. +# normally, a DeprecatedEdxPlatformImportWarning would be raised. +# This will allow us to test dropping support for the deprecated +# import paths without yet removing all of the import_shims +# machinery. ERROR_ON_DEPRECATED_EDX_PLATFORM_IMPORTS = False