refactor: remove superfluous courseware/__init__.py warning

This commit is contained in:
Kyle McCormick
2021-01-06 09:55:29 -05:00
committed by Kyle McCormick
parent 30c80082c3
commit f92740b39f

View File

@@ -1,7 +0,0 @@
# lint-amnesty, pylint: disable=missing-module-docstring
import warnings
if __name__ == 'courseware':
# Show the call stack that imported us wrong.
msg = "Importing 'lms.djangoapps.courseware' as 'courseware' is no longer supported"
warnings.warn(msg, DeprecationWarning)