Re-run 'sys_path_hacks/un_sys_path.sh lms'

This commit is contained in:
Kyle McCormick
2020-09-29 14:25:35 -04:00
committed by Kyle McCormick
parent b82ac1fc16
commit 67844cbe81
970 changed files with 2909 additions and 1940 deletions

View File

@@ -1,4 +1,5 @@
import warnings
warnings.warn("Importing debug instead of lms.djangoapps.debug is deprecated", stacklevel=2)
from sys_path_hacks.warn import warn_deprecated_import
warn_deprecated_import('lms.djangoapps', 'debug')
from lms.djangoapps.debug import *

View File

@@ -1,4 +1,5 @@
import warnings
warnings.warn("Importing debug.management instead of lms.djangoapps.debug.management is deprecated", stacklevel=2)
from sys_path_hacks.warn import warn_deprecated_import
warn_deprecated_import('lms.djangoapps', 'debug.management')
from lms.djangoapps.debug.management import *

View File

@@ -1,4 +1,5 @@
import warnings
warnings.warn("Importing debug.management.commands instead of lms.djangoapps.debug.management.commands is deprecated", stacklevel=2)
from sys_path_hacks.warn import warn_deprecated_import
warn_deprecated_import('lms.djangoapps', 'debug.management.commands')
from lms.djangoapps.debug.management.commands import *

View File

@@ -1,4 +1,5 @@
import warnings
warnings.warn("Importing debug.management.commands.dump_xml_courses instead of lms.djangoapps.debug.management.commands.dump_xml_courses is deprecated", stacklevel=2)
from sys_path_hacks.warn import warn_deprecated_import
warn_deprecated_import('lms.djangoapps', 'debug.management.commands.dump_xml_courses')
from lms.djangoapps.debug.management.commands.dump_xml_courses import *

View File

@@ -1,4 +1,5 @@
import warnings
warnings.warn("Importing debug.views instead of lms.djangoapps.debug.views is deprecated", stacklevel=2)
from sys_path_hacks.warn import warn_deprecated_import
warn_deprecated_import('lms.djangoapps', 'debug.views')
from lms.djangoapps.debug.views import *