Add deprecation warning to aws.py OPS-3450
This commit is contained in:
@@ -13,6 +13,8 @@ from .common import *
|
||||
from openedx.core.lib.derived import derive_settings
|
||||
from openedx.core.lib.logsettings import get_logger_config
|
||||
import os
|
||||
import logging
|
||||
import logging.config
|
||||
|
||||
from path import Path as path
|
||||
from xmodule.modulestore.modulestore_settings import convert_module_store_setting_if_needed
|
||||
@@ -605,3 +607,6 @@ plugin_settings.add_plugins(__name__, plugin_constants.ProjectType.CMS, plugin_c
|
||||
########################## Derive Any Derived Settings #######################
|
||||
|
||||
derive_settings(__name__)
|
||||
|
||||
logging.config.dictConfig(LOGGING)
|
||||
logging.warn('DEPRECATION WARNING: aws.py has been deprecated, you should use production.py instead.')
|
||||
|
||||
@@ -26,6 +26,8 @@ from .common import *
|
||||
from openedx.core.lib.derived import derive_settings
|
||||
from openedx.core.lib.logsettings import get_logger_config
|
||||
import os
|
||||
import logging
|
||||
import logging.config
|
||||
|
||||
from path import Path as path
|
||||
from xmodule.modulestore.modulestore_settings import convert_module_store_setting_if_needed
|
||||
@@ -1104,3 +1106,6 @@ plugin_settings.add_plugins(__name__, plugin_constants.ProjectType.LMS, plugin_c
|
||||
########################## Derive Any Derived Settings #######################
|
||||
|
||||
derive_settings(__name__)
|
||||
|
||||
logging.config.dictConfig(LOGGING)
|
||||
logging.warn('DEPRECATION WARNING: aws.py has been deprecated, you should use production.py instead.')
|
||||
|
||||
Reference in New Issue
Block a user