Add deprecation warning to aws.py OPS-3450

This commit is contained in:
Cory Lee
2018-09-20 14:57:46 -04:00
committed by Joseph Mulloy
parent f9fa69ee9b
commit e145049f46
2 changed files with 10 additions and 0 deletions

View File

@@ -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.')

View File

@@ -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.')