From 854502b560bda74ef898501bb2a95ce238cf794c Mon Sep 17 00:00:00 2001 From: Kyle McCormick Date: Tue, 27 Oct 2020 15:45:35 -0400 Subject: [PATCH] Re-generate import_shims modules for cms/djangoapps Command: import_shims/generate_shims.sh cms/djangoapps import_shims/studio --- import_shims/studio/api/__init__.py | 4 ++-- import_shims/studio/api/apps.py | 4 ++-- import_shims/studio/api/urls.py | 4 ++-- import_shims/studio/api/v1/__init__.py | 4 ++-- import_shims/studio/api/v1/serializers/__init__.py | 4 ++-- import_shims/studio/api/v1/serializers/course_runs.py | 4 ++-- import_shims/studio/api/v1/tests/__init__.py | 4 ++-- import_shims/studio/api/v1/tests/test_serializers/__init__.py | 4 ++-- .../studio/api/v1/tests/test_serializers/test_course_runs.py | 4 ++-- import_shims/studio/api/v1/tests/test_views/__init__.py | 4 ++-- .../studio/api/v1/tests/test_views/test_course_runs.py | 4 ++-- import_shims/studio/api/v1/tests/utils.py | 4 ++-- import_shims/studio/api/v1/urls.py | 4 ++-- import_shims/studio/api/v1/views/__init__.py | 4 ++-- import_shims/studio/api/v1/views/course_runs.py | 4 ++-- import_shims/studio/cms_user_tasks/__init__.py | 4 ++-- import_shims/studio/cms_user_tasks/apps.py | 4 ++-- import_shims/studio/cms_user_tasks/signals.py | 4 ++-- import_shims/studio/cms_user_tasks/tasks.py | 4 ++-- import_shims/studio/cms_user_tasks/tests.py | 4 ++-- import_shims/studio/contentstore/__init__.py | 4 ++-- import_shims/studio/contentstore/admin.py | 4 ++-- import_shims/studio/contentstore/api/__init__.py | 4 ++-- import_shims/studio/contentstore/api/tests/__init__.py | 4 ++-- import_shims/studio/contentstore/api/tests/base.py | 4 ++-- import_shims/studio/contentstore/api/tests/test_import.py | 4 ++-- import_shims/studio/contentstore/api/tests/test_quality.py | 4 ++-- import_shims/studio/contentstore/api/tests/test_validation.py | 4 ++-- import_shims/studio/contentstore/api/urls.py | 4 ++-- import_shims/studio/contentstore/api/views/__init__.py | 4 ++-- import_shims/studio/contentstore/api/views/course_import.py | 4 ++-- import_shims/studio/contentstore/api/views/course_quality.py | 4 ++-- .../studio/contentstore/api/views/course_validation.py | 4 ++-- import_shims/studio/contentstore/api/views/utils.py | 4 ++-- import_shims/studio/contentstore/apps.py | 4 ++-- import_shims/studio/contentstore/config/__init__.py | 4 ++-- import_shims/studio/contentstore/config/tests/__init__.py | 4 ++-- import_shims/studio/contentstore/config/waffle.py | 4 ++-- import_shims/studio/contentstore/config/waffle_utils.py | 4 ++-- import_shims/studio/contentstore/course_group_config.py | 4 ++-- import_shims/studio/contentstore/course_info_model.py | 4 ++-- import_shims/studio/contentstore/courseware_index.py | 4 ++-- import_shims/studio/contentstore/debug_file_uploader.py | 4 ++-- import_shims/studio/contentstore/git_export_utils.py | 4 ++-- import_shims/studio/contentstore/management/__init__.py | 4 ++-- .../studio/contentstore/management/commands/__init__.py | 4 ++-- .../contentstore/management/commands/clean_cert_name.py | 4 ++-- .../studio/contentstore/management/commands/cleanup_assets.py | 4 ++-- .../studio/contentstore/management/commands/create_course.py | 4 ++-- .../studio/contentstore/management/commands/delete_course.py | 4 ++-- .../studio/contentstore/management/commands/delete_orphans.py | 4 ++-- .../contentstore/management/commands/edit_course_tabs.py | 4 ++-- .../contentstore/management/commands/empty_asset_trashcan.py | 4 ++-- .../studio/contentstore/management/commands/export.py | 4 ++-- .../contentstore/management/commands/export_all_courses.py | 4 ++-- .../management/commands/export_content_library.py | 4 ++-- .../studio/contentstore/management/commands/export_olx.py | 4 ++-- .../studio/contentstore/management/commands/fix_not_found.py | 4 ++-- .../studio/contentstore/management/commands/force_publish.py | 4 ++-- .../contentstore/management/commands/generate_courses.py | 4 ++-- .../studio/contentstore/management/commands/git_export.py | 4 ++-- .../management/commands/import_content_library.py | 4 ++-- .../contentstore/management/commands/migrate_to_split.py | 4 ++-- .../studio/contentstore/management/commands/prompt.py | 4 ++-- .../studio/contentstore/management/commands/reindex_course.py | 4 ++-- .../contentstore/management/commands/reindex_library.py | 4 ++-- .../management/commands/restore_asset_from_trashcan.py | 4 ++-- .../studio/contentstore/management/commands/sync_courses.py | 4 ++-- .../studio/contentstore/management/commands/tests/__init__.py | 4 ++-- .../management/commands/tests/test_cleanup_assets.py | 4 ++-- .../management/commands/tests/test_create_course.py | 4 ++-- .../management/commands/tests/test_delete_course.py | 4 ++-- .../management/commands/tests/test_delete_orphans.py | 4 ++-- .../contentstore/management/commands/tests/test_export.py | 4 ++-- .../management/commands/tests/test_export_all_courses.py | 4 ++-- .../contentstore/management/commands/tests/test_export_olx.py | 4 ++-- .../management/commands/tests/test_fix_not_found.py | 4 ++-- .../management/commands/tests/test_force_publish.py | 4 ++-- .../management/commands/tests/test_generate_courses.py | 4 ++-- .../contentstore/management/commands/tests/test_git_export.py | 4 ++-- .../contentstore/management/commands/tests/test_import.py | 4 ++-- .../management/commands/tests/test_migrate_to_split.py | 4 ++-- .../management/commands/tests/test_reindex_courses.py | 4 ++-- .../management/commands/tests/test_reindex_library.py | 4 ++-- .../management/commands/tests/test_sync_courses.py | 4 ++-- import_shims/studio/contentstore/management/commands/utils.py | 4 ++-- import_shims/studio/contentstore/management/commands/xlint.py | 4 ++-- import_shims/studio/contentstore/models.py | 4 ++-- import_shims/studio/contentstore/proctoring.py | 4 ++-- import_shims/studio/contentstore/rest_api/__init__.py | 4 ++-- import_shims/studio/contentstore/rest_api/urls.py | 4 ++-- import_shims/studio/contentstore/rest_api/v1/serializers.py | 4 ++-- .../studio/contentstore/rest_api/v1/tests/__init__.py | 4 ++-- .../studio/contentstore/rest_api/v1/tests/test_views.py | 4 ++-- import_shims/studio/contentstore/rest_api/v1/urls.py | 4 ++-- import_shims/studio/contentstore/rest_api/v1/views.py | 4 ++-- import_shims/studio/contentstore/rules.py | 4 ++-- import_shims/studio/contentstore/signals/__init__.py | 4 ++-- import_shims/studio/contentstore/signals/handlers.py | 4 ++-- import_shims/studio/contentstore/signals/signals.py | 4 ++-- import_shims/studio/contentstore/storage.py | 4 ++-- import_shims/studio/contentstore/tasks.py | 4 ++-- import_shims/studio/contentstore/tests/__init__.py | 4 ++-- import_shims/studio/contentstore/tests/test_clone_course.py | 4 ++-- import_shims/studio/contentstore/tests/test_contentstore.py | 4 ++-- import_shims/studio/contentstore/tests/test_core_caching.py | 4 ++-- .../studio/contentstore/tests/test_course_create_rerun.py | 4 ++-- import_shims/studio/contentstore/tests/test_course_listing.py | 4 ++-- .../studio/contentstore/tests/test_course_settings.py | 4 ++-- .../studio/contentstore/tests/test_courseware_index.py | 4 ++-- import_shims/studio/contentstore/tests/test_crud.py | 4 ++-- import_shims/studio/contentstore/tests/test_export_git.py | 4 ++-- import_shims/studio/contentstore/tests/test_gating.py | 4 ++-- import_shims/studio/contentstore/tests/test_i18n.py | 4 ++-- import_shims/studio/contentstore/tests/test_import.py | 4 ++-- .../studio/contentstore/tests/test_import_draft_order.py | 4 ++-- .../studio/contentstore/tests/test_import_pure_xblock.py | 4 ++-- import_shims/studio/contentstore/tests/test_libraries.py | 4 ++-- import_shims/studio/contentstore/tests/test_orphan.py | 4 ++-- import_shims/studio/contentstore/tests/test_permissions.py | 4 ++-- import_shims/studio/contentstore/tests/test_proctoring.py | 4 ++-- import_shims/studio/contentstore/tests/test_request_event.py | 4 ++-- import_shims/studio/contentstore/tests/test_signals.py | 4 ++-- import_shims/studio/contentstore/tests/test_tasks.py | 4 ++-- .../studio/contentstore/tests/test_transcripts_utils.py | 4 ++-- .../studio/contentstore/tests/test_users_default_role.py | 4 ++-- import_shims/studio/contentstore/tests/test_utils.py | 4 ++-- import_shims/studio/contentstore/tests/test_video_utils.py | 4 ++-- import_shims/studio/contentstore/tests/tests.py | 4 ++-- import_shims/studio/contentstore/tests/utils.py | 4 ++-- import_shims/studio/contentstore/utils.py | 4 ++-- import_shims/studio/contentstore/video_utils.py | 4 ++-- import_shims/studio/contentstore/views/__init__.py | 4 ++-- import_shims/studio/contentstore/views/access.py | 4 ++-- import_shims/studio/contentstore/views/assets.py | 4 ++-- import_shims/studio/contentstore/views/certificates.py | 4 ++-- import_shims/studio/contentstore/views/checklists.py | 4 ++-- import_shims/studio/contentstore/views/component.py | 4 ++-- import_shims/studio/contentstore/views/course.py | 4 ++-- import_shims/studio/contentstore/views/dev.py | 4 ++-- import_shims/studio/contentstore/views/entrance_exam.py | 4 ++-- import_shims/studio/contentstore/views/error.py | 4 ++-- import_shims/studio/contentstore/views/exception.py | 4 ++-- import_shims/studio/contentstore/views/export_git.py | 4 ++-- import_shims/studio/contentstore/views/helpers.py | 4 ++-- import_shims/studio/contentstore/views/import_export.py | 4 ++-- import_shims/studio/contentstore/views/item.py | 4 ++-- import_shims/studio/contentstore/views/library.py | 4 ++-- import_shims/studio/contentstore/views/organization.py | 4 ++-- import_shims/studio/contentstore/views/preview.py | 4 ++-- import_shims/studio/contentstore/views/public.py | 4 ++-- import_shims/studio/contentstore/views/session_kv_store.py | 4 ++-- import_shims/studio/contentstore/views/tabs.py | 4 ++-- import_shims/studio/contentstore/views/tests/__init__.py | 4 ++-- import_shims/studio/contentstore/views/tests/test_access.py | 4 ++-- import_shims/studio/contentstore/views/tests/test_assets.py | 4 ++-- .../studio/contentstore/views/tests/test_certificates.py | 4 ++-- .../studio/contentstore/views/tests/test_container_page.py | 4 ++-- .../studio/contentstore/views/tests/test_course_index.py | 4 ++-- .../studio/contentstore/views/tests/test_course_updates.py | 4 ++-- .../contentstore/views/tests/test_credit_eligibility.py | 4 ++-- .../studio/contentstore/views/tests/test_entrance_exam.py | 4 ++-- .../contentstore/views/tests/test_exam_settings_view.py | 4 ++-- import_shims/studio/contentstore/views/tests/test_gating.py | 4 ++-- .../contentstore/views/tests/test_group_configurations.py | 4 ++-- .../studio/contentstore/views/tests/test_header_menu.py | 4 ++-- import_shims/studio/contentstore/views/tests/test_helpers.py | 4 ++-- .../studio/contentstore/views/tests/test_import_export.py | 4 ++-- import_shims/studio/contentstore/views/tests/test_item.py | 4 ++-- import_shims/studio/contentstore/views/tests/test_library.py | 4 ++-- .../studio/contentstore/views/tests/test_organizations.py | 4 ++-- import_shims/studio/contentstore/views/tests/test_preview.py | 4 ++-- import_shims/studio/contentstore/views/tests/test_tabs.py | 4 ++-- .../studio/contentstore/views/tests/test_textbooks.py | 4 ++-- .../contentstore/views/tests/test_transcript_settings.py | 4 ++-- .../studio/contentstore/views/tests/test_transcripts.py | 4 ++-- .../studio/contentstore/views/tests/test_unit_page.py | 4 ++-- import_shims/studio/contentstore/views/tests/test_user.py | 4 ++-- import_shims/studio/contentstore/views/tests/test_videos.py | 4 ++-- import_shims/studio/contentstore/views/tests/utils.py | 4 ++-- import_shims/studio/contentstore/views/transcript_settings.py | 4 ++-- import_shims/studio/contentstore/views/transcripts_ajax.py | 4 ++-- import_shims/studio/contentstore/views/user.py | 4 ++-- import_shims/studio/contentstore/views/videos.py | 4 ++-- import_shims/studio/course_creators/__init__.py | 4 ++-- import_shims/studio/course_creators/admin.py | 4 ++-- import_shims/studio/course_creators/models.py | 4 ++-- import_shims/studio/course_creators/tests/__init__.py | 4 ++-- import_shims/studio/course_creators/tests/test_admin.py | 4 ++-- import_shims/studio/course_creators/tests/test_views.py | 4 ++-- import_shims/studio/course_creators/views.py | 4 ++-- import_shims/studio/maintenance/__init__.py | 4 ++-- import_shims/studio/maintenance/tests.py | 4 ++-- import_shims/studio/maintenance/urls.py | 4 ++-- import_shims/studio/maintenance/views.py | 4 ++-- import_shims/studio/models/__init__.py | 4 ++-- import_shims/studio/models/settings/__init__.py | 4 ++-- import_shims/studio/models/settings/course_grading.py | 4 ++-- import_shims/studio/models/settings/course_metadata.py | 4 ++-- import_shims/studio/models/settings/encoder.py | 4 ++-- import_shims/studio/models/settings/tests/test_settings.py | 4 ++-- import_shims/studio/models/settings/waffle.py | 4 ++-- import_shims/studio/pipeline_js/__init__.py | 4 ++-- import_shims/studio/pipeline_js/utils.py | 4 ++-- import_shims/studio/xblock_config/__init__.py | 4 ++-- import_shims/studio/xblock_config/admin.py | 4 ++-- import_shims/studio/xblock_config/apps.py | 4 ++-- import_shims/studio/xblock_config/forms.py | 4 ++-- import_shims/studio/xblock_config/models.py | 4 ++-- import_shims/studio/xblock_config/tests/__init__.py | 4 ++-- import_shims/studio/xblock_config/tests/test_models.py | 4 ++-- 211 files changed, 422 insertions(+), 422 deletions(-) diff --git a/import_shims/studio/api/__init__.py b/import_shims/studio/api/__init__.py index e3b3ad9865..387cea81b0 100644 --- a/import_shims/studio/api/__init__.py +++ b/import_shims/studio/api/__init__.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'api') +warn_deprecated_import('api', 'cms.djangoapps.api') from cms.djangoapps.api import * diff --git a/import_shims/studio/api/apps.py b/import_shims/studio/api/apps.py index bf5a87aa5d..6483f004e9 100644 --- a/import_shims/studio/api/apps.py +++ b/import_shims/studio/api/apps.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'api.apps') +warn_deprecated_import('api.apps', 'cms.djangoapps.api.apps') from cms.djangoapps.api.apps import * diff --git a/import_shims/studio/api/urls.py b/import_shims/studio/api/urls.py index 0382c7f7fa..2a2f4dec1c 100644 --- a/import_shims/studio/api/urls.py +++ b/import_shims/studio/api/urls.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'api.urls') +warn_deprecated_import('api.urls', 'cms.djangoapps.api.urls') from cms.djangoapps.api.urls import * diff --git a/import_shims/studio/api/v1/__init__.py b/import_shims/studio/api/v1/__init__.py index d627f9d95a..f2dd3d1bd8 100644 --- a/import_shims/studio/api/v1/__init__.py +++ b/import_shims/studio/api/v1/__init__.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'api.v1') +warn_deprecated_import('api.v1', 'cms.djangoapps.api.v1') from cms.djangoapps.api.v1 import * diff --git a/import_shims/studio/api/v1/serializers/__init__.py b/import_shims/studio/api/v1/serializers/__init__.py index c299dfeaa1..e8ee000990 100644 --- a/import_shims/studio/api/v1/serializers/__init__.py +++ b/import_shims/studio/api/v1/serializers/__init__.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'api.v1.serializers') +warn_deprecated_import('api.v1.serializers', 'cms.djangoapps.api.v1.serializers') from cms.djangoapps.api.v1.serializers import * diff --git a/import_shims/studio/api/v1/serializers/course_runs.py b/import_shims/studio/api/v1/serializers/course_runs.py index 926e1c7b2d..1132c758f8 100644 --- a/import_shims/studio/api/v1/serializers/course_runs.py +++ b/import_shims/studio/api/v1/serializers/course_runs.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'api.v1.serializers.course_runs') +warn_deprecated_import('api.v1.serializers.course_runs', 'cms.djangoapps.api.v1.serializers.course_runs') from cms.djangoapps.api.v1.serializers.course_runs import * diff --git a/import_shims/studio/api/v1/tests/__init__.py b/import_shims/studio/api/v1/tests/__init__.py index dc802f0a3f..dfcd191c03 100644 --- a/import_shims/studio/api/v1/tests/__init__.py +++ b/import_shims/studio/api/v1/tests/__init__.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'api.v1.tests') +warn_deprecated_import('api.v1.tests', 'cms.djangoapps.api.v1.tests') from cms.djangoapps.api.v1.tests import * diff --git a/import_shims/studio/api/v1/tests/test_serializers/__init__.py b/import_shims/studio/api/v1/tests/test_serializers/__init__.py index 104aac3c77..d5f33739cd 100644 --- a/import_shims/studio/api/v1/tests/test_serializers/__init__.py +++ b/import_shims/studio/api/v1/tests/test_serializers/__init__.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'api.v1.tests.test_serializers') +warn_deprecated_import('api.v1.tests.test_serializers', 'cms.djangoapps.api.v1.tests.test_serializers') from cms.djangoapps.api.v1.tests.test_serializers import * diff --git a/import_shims/studio/api/v1/tests/test_serializers/test_course_runs.py b/import_shims/studio/api/v1/tests/test_serializers/test_course_runs.py index 754ccdda11..626fce3d58 100644 --- a/import_shims/studio/api/v1/tests/test_serializers/test_course_runs.py +++ b/import_shims/studio/api/v1/tests/test_serializers/test_course_runs.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'api.v1.tests.test_serializers.test_course_runs') +warn_deprecated_import('api.v1.tests.test_serializers.test_course_runs', 'cms.djangoapps.api.v1.tests.test_serializers.test_course_runs') from cms.djangoapps.api.v1.tests.test_serializers.test_course_runs import * diff --git a/import_shims/studio/api/v1/tests/test_views/__init__.py b/import_shims/studio/api/v1/tests/test_views/__init__.py index 5ac6428264..04d38bdbce 100644 --- a/import_shims/studio/api/v1/tests/test_views/__init__.py +++ b/import_shims/studio/api/v1/tests/test_views/__init__.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'api.v1.tests.test_views') +warn_deprecated_import('api.v1.tests.test_views', 'cms.djangoapps.api.v1.tests.test_views') from cms.djangoapps.api.v1.tests.test_views import * diff --git a/import_shims/studio/api/v1/tests/test_views/test_course_runs.py b/import_shims/studio/api/v1/tests/test_views/test_course_runs.py index 51eb06636e..717769e511 100644 --- a/import_shims/studio/api/v1/tests/test_views/test_course_runs.py +++ b/import_shims/studio/api/v1/tests/test_views/test_course_runs.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'api.v1.tests.test_views.test_course_runs') +warn_deprecated_import('api.v1.tests.test_views.test_course_runs', 'cms.djangoapps.api.v1.tests.test_views.test_course_runs') from cms.djangoapps.api.v1.tests.test_views.test_course_runs import * diff --git a/import_shims/studio/api/v1/tests/utils.py b/import_shims/studio/api/v1/tests/utils.py index 69c9248130..f0317d69e1 100644 --- a/import_shims/studio/api/v1/tests/utils.py +++ b/import_shims/studio/api/v1/tests/utils.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'api.v1.tests.utils') +warn_deprecated_import('api.v1.tests.utils', 'cms.djangoapps.api.v1.tests.utils') from cms.djangoapps.api.v1.tests.utils import * diff --git a/import_shims/studio/api/v1/urls.py b/import_shims/studio/api/v1/urls.py index 38e4c68f5d..640af140d3 100644 --- a/import_shims/studio/api/v1/urls.py +++ b/import_shims/studio/api/v1/urls.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'api.v1.urls') +warn_deprecated_import('api.v1.urls', 'cms.djangoapps.api.v1.urls') from cms.djangoapps.api.v1.urls import * diff --git a/import_shims/studio/api/v1/views/__init__.py b/import_shims/studio/api/v1/views/__init__.py index 436936712a..fd228975c7 100644 --- a/import_shims/studio/api/v1/views/__init__.py +++ b/import_shims/studio/api/v1/views/__init__.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'api.v1.views') +warn_deprecated_import('api.v1.views', 'cms.djangoapps.api.v1.views') from cms.djangoapps.api.v1.views import * diff --git a/import_shims/studio/api/v1/views/course_runs.py b/import_shims/studio/api/v1/views/course_runs.py index 1f9aabacbd..ded8ced5b5 100644 --- a/import_shims/studio/api/v1/views/course_runs.py +++ b/import_shims/studio/api/v1/views/course_runs.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'api.v1.views.course_runs') +warn_deprecated_import('api.v1.views.course_runs', 'cms.djangoapps.api.v1.views.course_runs') from cms.djangoapps.api.v1.views.course_runs import * diff --git a/import_shims/studio/cms_user_tasks/__init__.py b/import_shims/studio/cms_user_tasks/__init__.py index 84fe24c4a5..46ed3a271c 100644 --- a/import_shims/studio/cms_user_tasks/__init__.py +++ b/import_shims/studio/cms_user_tasks/__init__.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'cms_user_tasks') +warn_deprecated_import('cms_user_tasks', 'cms.djangoapps.cms_user_tasks') from cms.djangoapps.cms_user_tasks import * diff --git a/import_shims/studio/cms_user_tasks/apps.py b/import_shims/studio/cms_user_tasks/apps.py index a397dec7df..c2184ceb42 100644 --- a/import_shims/studio/cms_user_tasks/apps.py +++ b/import_shims/studio/cms_user_tasks/apps.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'cms_user_tasks.apps') +warn_deprecated_import('cms_user_tasks.apps', 'cms.djangoapps.cms_user_tasks.apps') from cms.djangoapps.cms_user_tasks.apps import * diff --git a/import_shims/studio/cms_user_tasks/signals.py b/import_shims/studio/cms_user_tasks/signals.py index 1ab57e3c2c..da900f4d7b 100644 --- a/import_shims/studio/cms_user_tasks/signals.py +++ b/import_shims/studio/cms_user_tasks/signals.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'cms_user_tasks.signals') +warn_deprecated_import('cms_user_tasks.signals', 'cms.djangoapps.cms_user_tasks.signals') from cms.djangoapps.cms_user_tasks.signals import * diff --git a/import_shims/studio/cms_user_tasks/tasks.py b/import_shims/studio/cms_user_tasks/tasks.py index 57f1ad446d..63c1970527 100644 --- a/import_shims/studio/cms_user_tasks/tasks.py +++ b/import_shims/studio/cms_user_tasks/tasks.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'cms_user_tasks.tasks') +warn_deprecated_import('cms_user_tasks.tasks', 'cms.djangoapps.cms_user_tasks.tasks') from cms.djangoapps.cms_user_tasks.tasks import * diff --git a/import_shims/studio/cms_user_tasks/tests.py b/import_shims/studio/cms_user_tasks/tests.py index 47784ced9f..167862b280 100644 --- a/import_shims/studio/cms_user_tasks/tests.py +++ b/import_shims/studio/cms_user_tasks/tests.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'cms_user_tasks.tests') +warn_deprecated_import('cms_user_tasks.tests', 'cms.djangoapps.cms_user_tasks.tests') from cms.djangoapps.cms_user_tasks.tests import * diff --git a/import_shims/studio/contentstore/__init__.py b/import_shims/studio/contentstore/__init__.py index 21c574c582..04379cf265 100644 --- a/import_shims/studio/contentstore/__init__.py +++ b/import_shims/studio/contentstore/__init__.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'contentstore') +warn_deprecated_import('contentstore', 'cms.djangoapps.contentstore') from cms.djangoapps.contentstore import * diff --git a/import_shims/studio/contentstore/admin.py b/import_shims/studio/contentstore/admin.py index 71f7f7a648..47a2015594 100644 --- a/import_shims/studio/contentstore/admin.py +++ b/import_shims/studio/contentstore/admin.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'contentstore.admin') +warn_deprecated_import('contentstore.admin', 'cms.djangoapps.contentstore.admin') from cms.djangoapps.contentstore.admin import * diff --git a/import_shims/studio/contentstore/api/__init__.py b/import_shims/studio/contentstore/api/__init__.py index 4d8320957b..919e567402 100644 --- a/import_shims/studio/contentstore/api/__init__.py +++ b/import_shims/studio/contentstore/api/__init__.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'contentstore.api') +warn_deprecated_import('contentstore.api', 'cms.djangoapps.contentstore.api') from cms.djangoapps.contentstore.api import * diff --git a/import_shims/studio/contentstore/api/tests/__init__.py b/import_shims/studio/contentstore/api/tests/__init__.py index aee3afa8d7..1b06493bec 100644 --- a/import_shims/studio/contentstore/api/tests/__init__.py +++ b/import_shims/studio/contentstore/api/tests/__init__.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'contentstore.api.tests') +warn_deprecated_import('contentstore.api.tests', 'cms.djangoapps.contentstore.api.tests') from cms.djangoapps.contentstore.api.tests import * diff --git a/import_shims/studio/contentstore/api/tests/base.py b/import_shims/studio/contentstore/api/tests/base.py index 4648d92e6c..971f272227 100644 --- a/import_shims/studio/contentstore/api/tests/base.py +++ b/import_shims/studio/contentstore/api/tests/base.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'contentstore.api.tests.base') +warn_deprecated_import('contentstore.api.tests.base', 'cms.djangoapps.contentstore.api.tests.base') from cms.djangoapps.contentstore.api.tests.base import * diff --git a/import_shims/studio/contentstore/api/tests/test_import.py b/import_shims/studio/contentstore/api/tests/test_import.py index e6413b75d4..b773810bf0 100644 --- a/import_shims/studio/contentstore/api/tests/test_import.py +++ b/import_shims/studio/contentstore/api/tests/test_import.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'contentstore.api.tests.test_import') +warn_deprecated_import('contentstore.api.tests.test_import', 'cms.djangoapps.contentstore.api.tests.test_import') from cms.djangoapps.contentstore.api.tests.test_import import * diff --git a/import_shims/studio/contentstore/api/tests/test_quality.py b/import_shims/studio/contentstore/api/tests/test_quality.py index 70c59caa4e..85490605ef 100644 --- a/import_shims/studio/contentstore/api/tests/test_quality.py +++ b/import_shims/studio/contentstore/api/tests/test_quality.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'contentstore.api.tests.test_quality') +warn_deprecated_import('contentstore.api.tests.test_quality', 'cms.djangoapps.contentstore.api.tests.test_quality') from cms.djangoapps.contentstore.api.tests.test_quality import * diff --git a/import_shims/studio/contentstore/api/tests/test_validation.py b/import_shims/studio/contentstore/api/tests/test_validation.py index 254bbdeed7..e0e3a8e9ed 100644 --- a/import_shims/studio/contentstore/api/tests/test_validation.py +++ b/import_shims/studio/contentstore/api/tests/test_validation.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'contentstore.api.tests.test_validation') +warn_deprecated_import('contentstore.api.tests.test_validation', 'cms.djangoapps.contentstore.api.tests.test_validation') from cms.djangoapps.contentstore.api.tests.test_validation import * diff --git a/import_shims/studio/contentstore/api/urls.py b/import_shims/studio/contentstore/api/urls.py index 6f3cc788a1..837a494ba5 100644 --- a/import_shims/studio/contentstore/api/urls.py +++ b/import_shims/studio/contentstore/api/urls.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'contentstore.api.urls') +warn_deprecated_import('contentstore.api.urls', 'cms.djangoapps.contentstore.api.urls') from cms.djangoapps.contentstore.api.urls import * diff --git a/import_shims/studio/contentstore/api/views/__init__.py b/import_shims/studio/contentstore/api/views/__init__.py index 9bf6bf90f9..b9d7d390ab 100644 --- a/import_shims/studio/contentstore/api/views/__init__.py +++ b/import_shims/studio/contentstore/api/views/__init__.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'contentstore.api.views') +warn_deprecated_import('contentstore.api.views', 'cms.djangoapps.contentstore.api.views') from cms.djangoapps.contentstore.api.views import * diff --git a/import_shims/studio/contentstore/api/views/course_import.py b/import_shims/studio/contentstore/api/views/course_import.py index 8aca643c5e..ed9cbf8782 100644 --- a/import_shims/studio/contentstore/api/views/course_import.py +++ b/import_shims/studio/contentstore/api/views/course_import.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'contentstore.api.views.course_import') +warn_deprecated_import('contentstore.api.views.course_import', 'cms.djangoapps.contentstore.api.views.course_import') from cms.djangoapps.contentstore.api.views.course_import import * diff --git a/import_shims/studio/contentstore/api/views/course_quality.py b/import_shims/studio/contentstore/api/views/course_quality.py index b378e641d8..16187348c0 100644 --- a/import_shims/studio/contentstore/api/views/course_quality.py +++ b/import_shims/studio/contentstore/api/views/course_quality.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'contentstore.api.views.course_quality') +warn_deprecated_import('contentstore.api.views.course_quality', 'cms.djangoapps.contentstore.api.views.course_quality') from cms.djangoapps.contentstore.api.views.course_quality import * diff --git a/import_shims/studio/contentstore/api/views/course_validation.py b/import_shims/studio/contentstore/api/views/course_validation.py index 2b3aa8f6f4..0443bafc16 100644 --- a/import_shims/studio/contentstore/api/views/course_validation.py +++ b/import_shims/studio/contentstore/api/views/course_validation.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'contentstore.api.views.course_validation') +warn_deprecated_import('contentstore.api.views.course_validation', 'cms.djangoapps.contentstore.api.views.course_validation') from cms.djangoapps.contentstore.api.views.course_validation import * diff --git a/import_shims/studio/contentstore/api/views/utils.py b/import_shims/studio/contentstore/api/views/utils.py index fc3c33ea18..c9d7f46ca8 100644 --- a/import_shims/studio/contentstore/api/views/utils.py +++ b/import_shims/studio/contentstore/api/views/utils.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'contentstore.api.views.utils') +warn_deprecated_import('contentstore.api.views.utils', 'cms.djangoapps.contentstore.api.views.utils') from cms.djangoapps.contentstore.api.views.utils import * diff --git a/import_shims/studio/contentstore/apps.py b/import_shims/studio/contentstore/apps.py index 0cab01d074..912f8123f9 100644 --- a/import_shims/studio/contentstore/apps.py +++ b/import_shims/studio/contentstore/apps.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'contentstore.apps') +warn_deprecated_import('contentstore.apps', 'cms.djangoapps.contentstore.apps') from cms.djangoapps.contentstore.apps import * diff --git a/import_shims/studio/contentstore/config/__init__.py b/import_shims/studio/contentstore/config/__init__.py index 9157015c7a..578982f46c 100644 --- a/import_shims/studio/contentstore/config/__init__.py +++ b/import_shims/studio/contentstore/config/__init__.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'contentstore.config') +warn_deprecated_import('contentstore.config', 'cms.djangoapps.contentstore.config') from cms.djangoapps.contentstore.config import * diff --git a/import_shims/studio/contentstore/config/tests/__init__.py b/import_shims/studio/contentstore/config/tests/__init__.py index 5a9aa234c1..51ed6c789a 100644 --- a/import_shims/studio/contentstore/config/tests/__init__.py +++ b/import_shims/studio/contentstore/config/tests/__init__.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'contentstore.config.tests') +warn_deprecated_import('contentstore.config.tests', 'cms.djangoapps.contentstore.config.tests') from cms.djangoapps.contentstore.config.tests import * diff --git a/import_shims/studio/contentstore/config/waffle.py b/import_shims/studio/contentstore/config/waffle.py index 7007c3b7f8..17cabc0f63 100644 --- a/import_shims/studio/contentstore/config/waffle.py +++ b/import_shims/studio/contentstore/config/waffle.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'contentstore.config.waffle') +warn_deprecated_import('contentstore.config.waffle', 'cms.djangoapps.contentstore.config.waffle') from cms.djangoapps.contentstore.config.waffle import * diff --git a/import_shims/studio/contentstore/config/waffle_utils.py b/import_shims/studio/contentstore/config/waffle_utils.py index f8921dae95..519e81378e 100644 --- a/import_shims/studio/contentstore/config/waffle_utils.py +++ b/import_shims/studio/contentstore/config/waffle_utils.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'contentstore.config.waffle_utils') +warn_deprecated_import('contentstore.config.waffle_utils', 'cms.djangoapps.contentstore.config.waffle_utils') from cms.djangoapps.contentstore.config.waffle_utils import * diff --git a/import_shims/studio/contentstore/course_group_config.py b/import_shims/studio/contentstore/course_group_config.py index 25fe0110a8..858ed21272 100644 --- a/import_shims/studio/contentstore/course_group_config.py +++ b/import_shims/studio/contentstore/course_group_config.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'contentstore.course_group_config') +warn_deprecated_import('contentstore.course_group_config', 'cms.djangoapps.contentstore.course_group_config') from cms.djangoapps.contentstore.course_group_config import * diff --git a/import_shims/studio/contentstore/course_info_model.py b/import_shims/studio/contentstore/course_info_model.py index 07c8a97735..7cefd7979a 100644 --- a/import_shims/studio/contentstore/course_info_model.py +++ b/import_shims/studio/contentstore/course_info_model.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'contentstore.course_info_model') +warn_deprecated_import('contentstore.course_info_model', 'cms.djangoapps.contentstore.course_info_model') from cms.djangoapps.contentstore.course_info_model import * diff --git a/import_shims/studio/contentstore/courseware_index.py b/import_shims/studio/contentstore/courseware_index.py index ebca336ff7..17a182443c 100644 --- a/import_shims/studio/contentstore/courseware_index.py +++ b/import_shims/studio/contentstore/courseware_index.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'contentstore.courseware_index') +warn_deprecated_import('contentstore.courseware_index', 'cms.djangoapps.contentstore.courseware_index') from cms.djangoapps.contentstore.courseware_index import * diff --git a/import_shims/studio/contentstore/debug_file_uploader.py b/import_shims/studio/contentstore/debug_file_uploader.py index c5214a64f3..6bb41f5014 100644 --- a/import_shims/studio/contentstore/debug_file_uploader.py +++ b/import_shims/studio/contentstore/debug_file_uploader.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'contentstore.debug_file_uploader') +warn_deprecated_import('contentstore.debug_file_uploader', 'cms.djangoapps.contentstore.debug_file_uploader') from cms.djangoapps.contentstore.debug_file_uploader import * diff --git a/import_shims/studio/contentstore/git_export_utils.py b/import_shims/studio/contentstore/git_export_utils.py index d73fa95f7c..27c5675ad7 100644 --- a/import_shims/studio/contentstore/git_export_utils.py +++ b/import_shims/studio/contentstore/git_export_utils.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'contentstore.git_export_utils') +warn_deprecated_import('contentstore.git_export_utils', 'cms.djangoapps.contentstore.git_export_utils') from cms.djangoapps.contentstore.git_export_utils import * diff --git a/import_shims/studio/contentstore/management/__init__.py b/import_shims/studio/contentstore/management/__init__.py index 2b16ae68ee..fcde2061b3 100644 --- a/import_shims/studio/contentstore/management/__init__.py +++ b/import_shims/studio/contentstore/management/__init__.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'contentstore.management') +warn_deprecated_import('contentstore.management', 'cms.djangoapps.contentstore.management') from cms.djangoapps.contentstore.management import * diff --git a/import_shims/studio/contentstore/management/commands/__init__.py b/import_shims/studio/contentstore/management/commands/__init__.py index fff73c9ba0..19b473e98d 100644 --- a/import_shims/studio/contentstore/management/commands/__init__.py +++ b/import_shims/studio/contentstore/management/commands/__init__.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'contentstore.management.commands') +warn_deprecated_import('contentstore.management.commands', 'cms.djangoapps.contentstore.management.commands') from cms.djangoapps.contentstore.management.commands import * diff --git a/import_shims/studio/contentstore/management/commands/clean_cert_name.py b/import_shims/studio/contentstore/management/commands/clean_cert_name.py index 206f36b7dc..c27aca91f9 100644 --- a/import_shims/studio/contentstore/management/commands/clean_cert_name.py +++ b/import_shims/studio/contentstore/management/commands/clean_cert_name.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'contentstore.management.commands.clean_cert_name') +warn_deprecated_import('contentstore.management.commands.clean_cert_name', 'cms.djangoapps.contentstore.management.commands.clean_cert_name') from cms.djangoapps.contentstore.management.commands.clean_cert_name import * diff --git a/import_shims/studio/contentstore/management/commands/cleanup_assets.py b/import_shims/studio/contentstore/management/commands/cleanup_assets.py index 0a047d29de..8831690584 100644 --- a/import_shims/studio/contentstore/management/commands/cleanup_assets.py +++ b/import_shims/studio/contentstore/management/commands/cleanup_assets.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'contentstore.management.commands.cleanup_assets') +warn_deprecated_import('contentstore.management.commands.cleanup_assets', 'cms.djangoapps.contentstore.management.commands.cleanup_assets') from cms.djangoapps.contentstore.management.commands.cleanup_assets import * diff --git a/import_shims/studio/contentstore/management/commands/create_course.py b/import_shims/studio/contentstore/management/commands/create_course.py index ed3423ed8f..f7ec26c448 100644 --- a/import_shims/studio/contentstore/management/commands/create_course.py +++ b/import_shims/studio/contentstore/management/commands/create_course.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'contentstore.management.commands.create_course') +warn_deprecated_import('contentstore.management.commands.create_course', 'cms.djangoapps.contentstore.management.commands.create_course') from cms.djangoapps.contentstore.management.commands.create_course import * diff --git a/import_shims/studio/contentstore/management/commands/delete_course.py b/import_shims/studio/contentstore/management/commands/delete_course.py index 3392213b0f..069361d809 100644 --- a/import_shims/studio/contentstore/management/commands/delete_course.py +++ b/import_shims/studio/contentstore/management/commands/delete_course.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'contentstore.management.commands.delete_course') +warn_deprecated_import('contentstore.management.commands.delete_course', 'cms.djangoapps.contentstore.management.commands.delete_course') from cms.djangoapps.contentstore.management.commands.delete_course import * diff --git a/import_shims/studio/contentstore/management/commands/delete_orphans.py b/import_shims/studio/contentstore/management/commands/delete_orphans.py index d64ac4e54e..fc4f1a29c6 100644 --- a/import_shims/studio/contentstore/management/commands/delete_orphans.py +++ b/import_shims/studio/contentstore/management/commands/delete_orphans.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'contentstore.management.commands.delete_orphans') +warn_deprecated_import('contentstore.management.commands.delete_orphans', 'cms.djangoapps.contentstore.management.commands.delete_orphans') from cms.djangoapps.contentstore.management.commands.delete_orphans import * diff --git a/import_shims/studio/contentstore/management/commands/edit_course_tabs.py b/import_shims/studio/contentstore/management/commands/edit_course_tabs.py index c18357774f..a5524654b0 100644 --- a/import_shims/studio/contentstore/management/commands/edit_course_tabs.py +++ b/import_shims/studio/contentstore/management/commands/edit_course_tabs.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'contentstore.management.commands.edit_course_tabs') +warn_deprecated_import('contentstore.management.commands.edit_course_tabs', 'cms.djangoapps.contentstore.management.commands.edit_course_tabs') from cms.djangoapps.contentstore.management.commands.edit_course_tabs import * diff --git a/import_shims/studio/contentstore/management/commands/empty_asset_trashcan.py b/import_shims/studio/contentstore/management/commands/empty_asset_trashcan.py index ff801636ef..1c1277dacc 100644 --- a/import_shims/studio/contentstore/management/commands/empty_asset_trashcan.py +++ b/import_shims/studio/contentstore/management/commands/empty_asset_trashcan.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'contentstore.management.commands.empty_asset_trashcan') +warn_deprecated_import('contentstore.management.commands.empty_asset_trashcan', 'cms.djangoapps.contentstore.management.commands.empty_asset_trashcan') from cms.djangoapps.contentstore.management.commands.empty_asset_trashcan import * diff --git a/import_shims/studio/contentstore/management/commands/export.py b/import_shims/studio/contentstore/management/commands/export.py index 121da9ff89..1cbaee95ca 100644 --- a/import_shims/studio/contentstore/management/commands/export.py +++ b/import_shims/studio/contentstore/management/commands/export.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'contentstore.management.commands.export') +warn_deprecated_import('contentstore.management.commands.export', 'cms.djangoapps.contentstore.management.commands.export') from cms.djangoapps.contentstore.management.commands.export import * diff --git a/import_shims/studio/contentstore/management/commands/export_all_courses.py b/import_shims/studio/contentstore/management/commands/export_all_courses.py index 26d2c30d32..65892d64be 100644 --- a/import_shims/studio/contentstore/management/commands/export_all_courses.py +++ b/import_shims/studio/contentstore/management/commands/export_all_courses.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'contentstore.management.commands.export_all_courses') +warn_deprecated_import('contentstore.management.commands.export_all_courses', 'cms.djangoapps.contentstore.management.commands.export_all_courses') from cms.djangoapps.contentstore.management.commands.export_all_courses import * diff --git a/import_shims/studio/contentstore/management/commands/export_content_library.py b/import_shims/studio/contentstore/management/commands/export_content_library.py index 7568f5219f..0ef03b5cbd 100644 --- a/import_shims/studio/contentstore/management/commands/export_content_library.py +++ b/import_shims/studio/contentstore/management/commands/export_content_library.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'contentstore.management.commands.export_content_library') +warn_deprecated_import('contentstore.management.commands.export_content_library', 'cms.djangoapps.contentstore.management.commands.export_content_library') from cms.djangoapps.contentstore.management.commands.export_content_library import * diff --git a/import_shims/studio/contentstore/management/commands/export_olx.py b/import_shims/studio/contentstore/management/commands/export_olx.py index b9209b83dc..9a453fcb50 100644 --- a/import_shims/studio/contentstore/management/commands/export_olx.py +++ b/import_shims/studio/contentstore/management/commands/export_olx.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'contentstore.management.commands.export_olx') +warn_deprecated_import('contentstore.management.commands.export_olx', 'cms.djangoapps.contentstore.management.commands.export_olx') from cms.djangoapps.contentstore.management.commands.export_olx import * diff --git a/import_shims/studio/contentstore/management/commands/fix_not_found.py b/import_shims/studio/contentstore/management/commands/fix_not_found.py index 3c8bf68e11..11c0865892 100644 --- a/import_shims/studio/contentstore/management/commands/fix_not_found.py +++ b/import_shims/studio/contentstore/management/commands/fix_not_found.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'contentstore.management.commands.fix_not_found') +warn_deprecated_import('contentstore.management.commands.fix_not_found', 'cms.djangoapps.contentstore.management.commands.fix_not_found') from cms.djangoapps.contentstore.management.commands.fix_not_found import * diff --git a/import_shims/studio/contentstore/management/commands/force_publish.py b/import_shims/studio/contentstore/management/commands/force_publish.py index 57c34ba2a0..643eb47bb3 100644 --- a/import_shims/studio/contentstore/management/commands/force_publish.py +++ b/import_shims/studio/contentstore/management/commands/force_publish.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'contentstore.management.commands.force_publish') +warn_deprecated_import('contentstore.management.commands.force_publish', 'cms.djangoapps.contentstore.management.commands.force_publish') from cms.djangoapps.contentstore.management.commands.force_publish import * diff --git a/import_shims/studio/contentstore/management/commands/generate_courses.py b/import_shims/studio/contentstore/management/commands/generate_courses.py index 3601ff7596..c1a7f6975f 100644 --- a/import_shims/studio/contentstore/management/commands/generate_courses.py +++ b/import_shims/studio/contentstore/management/commands/generate_courses.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'contentstore.management.commands.generate_courses') +warn_deprecated_import('contentstore.management.commands.generate_courses', 'cms.djangoapps.contentstore.management.commands.generate_courses') from cms.djangoapps.contentstore.management.commands.generate_courses import * diff --git a/import_shims/studio/contentstore/management/commands/git_export.py b/import_shims/studio/contentstore/management/commands/git_export.py index 7abd8cd232..2921160d2c 100644 --- a/import_shims/studio/contentstore/management/commands/git_export.py +++ b/import_shims/studio/contentstore/management/commands/git_export.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'contentstore.management.commands.git_export') +warn_deprecated_import('contentstore.management.commands.git_export', 'cms.djangoapps.contentstore.management.commands.git_export') from cms.djangoapps.contentstore.management.commands.git_export import * diff --git a/import_shims/studio/contentstore/management/commands/import_content_library.py b/import_shims/studio/contentstore/management/commands/import_content_library.py index b10911c618..f6f600ba0b 100644 --- a/import_shims/studio/contentstore/management/commands/import_content_library.py +++ b/import_shims/studio/contentstore/management/commands/import_content_library.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'contentstore.management.commands.import_content_library') +warn_deprecated_import('contentstore.management.commands.import_content_library', 'cms.djangoapps.contentstore.management.commands.import_content_library') from cms.djangoapps.contentstore.management.commands.import_content_library import * diff --git a/import_shims/studio/contentstore/management/commands/migrate_to_split.py b/import_shims/studio/contentstore/management/commands/migrate_to_split.py index 909721360c..2a31ff1e0e 100644 --- a/import_shims/studio/contentstore/management/commands/migrate_to_split.py +++ b/import_shims/studio/contentstore/management/commands/migrate_to_split.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'contentstore.management.commands.migrate_to_split') +warn_deprecated_import('contentstore.management.commands.migrate_to_split', 'cms.djangoapps.contentstore.management.commands.migrate_to_split') from cms.djangoapps.contentstore.management.commands.migrate_to_split import * diff --git a/import_shims/studio/contentstore/management/commands/prompt.py b/import_shims/studio/contentstore/management/commands/prompt.py index beba1c4b33..411cb6009d 100644 --- a/import_shims/studio/contentstore/management/commands/prompt.py +++ b/import_shims/studio/contentstore/management/commands/prompt.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'contentstore.management.commands.prompt') +warn_deprecated_import('contentstore.management.commands.prompt', 'cms.djangoapps.contentstore.management.commands.prompt') from cms.djangoapps.contentstore.management.commands.prompt import * diff --git a/import_shims/studio/contentstore/management/commands/reindex_course.py b/import_shims/studio/contentstore/management/commands/reindex_course.py index e5ad06e07c..51b95ec9e4 100644 --- a/import_shims/studio/contentstore/management/commands/reindex_course.py +++ b/import_shims/studio/contentstore/management/commands/reindex_course.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'contentstore.management.commands.reindex_course') +warn_deprecated_import('contentstore.management.commands.reindex_course', 'cms.djangoapps.contentstore.management.commands.reindex_course') from cms.djangoapps.contentstore.management.commands.reindex_course import * diff --git a/import_shims/studio/contentstore/management/commands/reindex_library.py b/import_shims/studio/contentstore/management/commands/reindex_library.py index 023ad678af..764d77466a 100644 --- a/import_shims/studio/contentstore/management/commands/reindex_library.py +++ b/import_shims/studio/contentstore/management/commands/reindex_library.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'contentstore.management.commands.reindex_library') +warn_deprecated_import('contentstore.management.commands.reindex_library', 'cms.djangoapps.contentstore.management.commands.reindex_library') from cms.djangoapps.contentstore.management.commands.reindex_library import * diff --git a/import_shims/studio/contentstore/management/commands/restore_asset_from_trashcan.py b/import_shims/studio/contentstore/management/commands/restore_asset_from_trashcan.py index fced09b5a3..530ac75ace 100644 --- a/import_shims/studio/contentstore/management/commands/restore_asset_from_trashcan.py +++ b/import_shims/studio/contentstore/management/commands/restore_asset_from_trashcan.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'contentstore.management.commands.restore_asset_from_trashcan') +warn_deprecated_import('contentstore.management.commands.restore_asset_from_trashcan', 'cms.djangoapps.contentstore.management.commands.restore_asset_from_trashcan') from cms.djangoapps.contentstore.management.commands.restore_asset_from_trashcan import * diff --git a/import_shims/studio/contentstore/management/commands/sync_courses.py b/import_shims/studio/contentstore/management/commands/sync_courses.py index 02a6dd825b..138941135b 100644 --- a/import_shims/studio/contentstore/management/commands/sync_courses.py +++ b/import_shims/studio/contentstore/management/commands/sync_courses.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'contentstore.management.commands.sync_courses') +warn_deprecated_import('contentstore.management.commands.sync_courses', 'cms.djangoapps.contentstore.management.commands.sync_courses') from cms.djangoapps.contentstore.management.commands.sync_courses import * diff --git a/import_shims/studio/contentstore/management/commands/tests/__init__.py b/import_shims/studio/contentstore/management/commands/tests/__init__.py index e24cf89b8e..a36c6f7b6e 100644 --- a/import_shims/studio/contentstore/management/commands/tests/__init__.py +++ b/import_shims/studio/contentstore/management/commands/tests/__init__.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'contentstore.management.commands.tests') +warn_deprecated_import('contentstore.management.commands.tests', 'cms.djangoapps.contentstore.management.commands.tests') from cms.djangoapps.contentstore.management.commands.tests import * diff --git a/import_shims/studio/contentstore/management/commands/tests/test_cleanup_assets.py b/import_shims/studio/contentstore/management/commands/tests/test_cleanup_assets.py index 8e80797340..c435a34a97 100644 --- a/import_shims/studio/contentstore/management/commands/tests/test_cleanup_assets.py +++ b/import_shims/studio/contentstore/management/commands/tests/test_cleanup_assets.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'contentstore.management.commands.tests.test_cleanup_assets') +warn_deprecated_import('contentstore.management.commands.tests.test_cleanup_assets', 'cms.djangoapps.contentstore.management.commands.tests.test_cleanup_assets') from cms.djangoapps.contentstore.management.commands.tests.test_cleanup_assets import * diff --git a/import_shims/studio/contentstore/management/commands/tests/test_create_course.py b/import_shims/studio/contentstore/management/commands/tests/test_create_course.py index ddb1d15f03..94214146fe 100644 --- a/import_shims/studio/contentstore/management/commands/tests/test_create_course.py +++ b/import_shims/studio/contentstore/management/commands/tests/test_create_course.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'contentstore.management.commands.tests.test_create_course') +warn_deprecated_import('contentstore.management.commands.tests.test_create_course', 'cms.djangoapps.contentstore.management.commands.tests.test_create_course') from cms.djangoapps.contentstore.management.commands.tests.test_create_course import * diff --git a/import_shims/studio/contentstore/management/commands/tests/test_delete_course.py b/import_shims/studio/contentstore/management/commands/tests/test_delete_course.py index 261187de53..7a1ed9c0a6 100644 --- a/import_shims/studio/contentstore/management/commands/tests/test_delete_course.py +++ b/import_shims/studio/contentstore/management/commands/tests/test_delete_course.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'contentstore.management.commands.tests.test_delete_course') +warn_deprecated_import('contentstore.management.commands.tests.test_delete_course', 'cms.djangoapps.contentstore.management.commands.tests.test_delete_course') from cms.djangoapps.contentstore.management.commands.tests.test_delete_course import * diff --git a/import_shims/studio/contentstore/management/commands/tests/test_delete_orphans.py b/import_shims/studio/contentstore/management/commands/tests/test_delete_orphans.py index 50d6165414..2999a67df4 100644 --- a/import_shims/studio/contentstore/management/commands/tests/test_delete_orphans.py +++ b/import_shims/studio/contentstore/management/commands/tests/test_delete_orphans.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'contentstore.management.commands.tests.test_delete_orphans') +warn_deprecated_import('contentstore.management.commands.tests.test_delete_orphans', 'cms.djangoapps.contentstore.management.commands.tests.test_delete_orphans') from cms.djangoapps.contentstore.management.commands.tests.test_delete_orphans import * diff --git a/import_shims/studio/contentstore/management/commands/tests/test_export.py b/import_shims/studio/contentstore/management/commands/tests/test_export.py index aac029c26f..f2851c1dcb 100644 --- a/import_shims/studio/contentstore/management/commands/tests/test_export.py +++ b/import_shims/studio/contentstore/management/commands/tests/test_export.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'contentstore.management.commands.tests.test_export') +warn_deprecated_import('contentstore.management.commands.tests.test_export', 'cms.djangoapps.contentstore.management.commands.tests.test_export') from cms.djangoapps.contentstore.management.commands.tests.test_export import * diff --git a/import_shims/studio/contentstore/management/commands/tests/test_export_all_courses.py b/import_shims/studio/contentstore/management/commands/tests/test_export_all_courses.py index 5514f53914..326bb1a6f3 100644 --- a/import_shims/studio/contentstore/management/commands/tests/test_export_all_courses.py +++ b/import_shims/studio/contentstore/management/commands/tests/test_export_all_courses.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'contentstore.management.commands.tests.test_export_all_courses') +warn_deprecated_import('contentstore.management.commands.tests.test_export_all_courses', 'cms.djangoapps.contentstore.management.commands.tests.test_export_all_courses') from cms.djangoapps.contentstore.management.commands.tests.test_export_all_courses import * diff --git a/import_shims/studio/contentstore/management/commands/tests/test_export_olx.py b/import_shims/studio/contentstore/management/commands/tests/test_export_olx.py index 3d45b3fc93..b106ff51dc 100644 --- a/import_shims/studio/contentstore/management/commands/tests/test_export_olx.py +++ b/import_shims/studio/contentstore/management/commands/tests/test_export_olx.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'contentstore.management.commands.tests.test_export_olx') +warn_deprecated_import('contentstore.management.commands.tests.test_export_olx', 'cms.djangoapps.contentstore.management.commands.tests.test_export_olx') from cms.djangoapps.contentstore.management.commands.tests.test_export_olx import * diff --git a/import_shims/studio/contentstore/management/commands/tests/test_fix_not_found.py b/import_shims/studio/contentstore/management/commands/tests/test_fix_not_found.py index b2d3908461..2e6061c23e 100644 --- a/import_shims/studio/contentstore/management/commands/tests/test_fix_not_found.py +++ b/import_shims/studio/contentstore/management/commands/tests/test_fix_not_found.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'contentstore.management.commands.tests.test_fix_not_found') +warn_deprecated_import('contentstore.management.commands.tests.test_fix_not_found', 'cms.djangoapps.contentstore.management.commands.tests.test_fix_not_found') from cms.djangoapps.contentstore.management.commands.tests.test_fix_not_found import * diff --git a/import_shims/studio/contentstore/management/commands/tests/test_force_publish.py b/import_shims/studio/contentstore/management/commands/tests/test_force_publish.py index dbc685cb37..87f4349bbd 100644 --- a/import_shims/studio/contentstore/management/commands/tests/test_force_publish.py +++ b/import_shims/studio/contentstore/management/commands/tests/test_force_publish.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'contentstore.management.commands.tests.test_force_publish') +warn_deprecated_import('contentstore.management.commands.tests.test_force_publish', 'cms.djangoapps.contentstore.management.commands.tests.test_force_publish') from cms.djangoapps.contentstore.management.commands.tests.test_force_publish import * diff --git a/import_shims/studio/contentstore/management/commands/tests/test_generate_courses.py b/import_shims/studio/contentstore/management/commands/tests/test_generate_courses.py index 979a45ba8f..f9eb7e5eae 100644 --- a/import_shims/studio/contentstore/management/commands/tests/test_generate_courses.py +++ b/import_shims/studio/contentstore/management/commands/tests/test_generate_courses.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'contentstore.management.commands.tests.test_generate_courses') +warn_deprecated_import('contentstore.management.commands.tests.test_generate_courses', 'cms.djangoapps.contentstore.management.commands.tests.test_generate_courses') from cms.djangoapps.contentstore.management.commands.tests.test_generate_courses import * diff --git a/import_shims/studio/contentstore/management/commands/tests/test_git_export.py b/import_shims/studio/contentstore/management/commands/tests/test_git_export.py index e740cdedae..377e6e8842 100644 --- a/import_shims/studio/contentstore/management/commands/tests/test_git_export.py +++ b/import_shims/studio/contentstore/management/commands/tests/test_git_export.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'contentstore.management.commands.tests.test_git_export') +warn_deprecated_import('contentstore.management.commands.tests.test_git_export', 'cms.djangoapps.contentstore.management.commands.tests.test_git_export') from cms.djangoapps.contentstore.management.commands.tests.test_git_export import * diff --git a/import_shims/studio/contentstore/management/commands/tests/test_import.py b/import_shims/studio/contentstore/management/commands/tests/test_import.py index 9019c2ee87..992d0d144f 100644 --- a/import_shims/studio/contentstore/management/commands/tests/test_import.py +++ b/import_shims/studio/contentstore/management/commands/tests/test_import.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'contentstore.management.commands.tests.test_import') +warn_deprecated_import('contentstore.management.commands.tests.test_import', 'cms.djangoapps.contentstore.management.commands.tests.test_import') from cms.djangoapps.contentstore.management.commands.tests.test_import import * diff --git a/import_shims/studio/contentstore/management/commands/tests/test_migrate_to_split.py b/import_shims/studio/contentstore/management/commands/tests/test_migrate_to_split.py index 7bc9c7887a..811512ca89 100644 --- a/import_shims/studio/contentstore/management/commands/tests/test_migrate_to_split.py +++ b/import_shims/studio/contentstore/management/commands/tests/test_migrate_to_split.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'contentstore.management.commands.tests.test_migrate_to_split') +warn_deprecated_import('contentstore.management.commands.tests.test_migrate_to_split', 'cms.djangoapps.contentstore.management.commands.tests.test_migrate_to_split') from cms.djangoapps.contentstore.management.commands.tests.test_migrate_to_split import * diff --git a/import_shims/studio/contentstore/management/commands/tests/test_reindex_courses.py b/import_shims/studio/contentstore/management/commands/tests/test_reindex_courses.py index e71941caef..6f25e8c919 100644 --- a/import_shims/studio/contentstore/management/commands/tests/test_reindex_courses.py +++ b/import_shims/studio/contentstore/management/commands/tests/test_reindex_courses.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'contentstore.management.commands.tests.test_reindex_courses') +warn_deprecated_import('contentstore.management.commands.tests.test_reindex_courses', 'cms.djangoapps.contentstore.management.commands.tests.test_reindex_courses') from cms.djangoapps.contentstore.management.commands.tests.test_reindex_courses import * diff --git a/import_shims/studio/contentstore/management/commands/tests/test_reindex_library.py b/import_shims/studio/contentstore/management/commands/tests/test_reindex_library.py index 8d18dfdd6b..d88a92befb 100644 --- a/import_shims/studio/contentstore/management/commands/tests/test_reindex_library.py +++ b/import_shims/studio/contentstore/management/commands/tests/test_reindex_library.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'contentstore.management.commands.tests.test_reindex_library') +warn_deprecated_import('contentstore.management.commands.tests.test_reindex_library', 'cms.djangoapps.contentstore.management.commands.tests.test_reindex_library') from cms.djangoapps.contentstore.management.commands.tests.test_reindex_library import * diff --git a/import_shims/studio/contentstore/management/commands/tests/test_sync_courses.py b/import_shims/studio/contentstore/management/commands/tests/test_sync_courses.py index 0ca2910fca..2b56ff8be4 100644 --- a/import_shims/studio/contentstore/management/commands/tests/test_sync_courses.py +++ b/import_shims/studio/contentstore/management/commands/tests/test_sync_courses.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'contentstore.management.commands.tests.test_sync_courses') +warn_deprecated_import('contentstore.management.commands.tests.test_sync_courses', 'cms.djangoapps.contentstore.management.commands.tests.test_sync_courses') from cms.djangoapps.contentstore.management.commands.tests.test_sync_courses import * diff --git a/import_shims/studio/contentstore/management/commands/utils.py b/import_shims/studio/contentstore/management/commands/utils.py index fb6879aab1..ce8ae5495d 100644 --- a/import_shims/studio/contentstore/management/commands/utils.py +++ b/import_shims/studio/contentstore/management/commands/utils.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'contentstore.management.commands.utils') +warn_deprecated_import('contentstore.management.commands.utils', 'cms.djangoapps.contentstore.management.commands.utils') from cms.djangoapps.contentstore.management.commands.utils import * diff --git a/import_shims/studio/contentstore/management/commands/xlint.py b/import_shims/studio/contentstore/management/commands/xlint.py index 596edb093f..bdbd8b03ef 100644 --- a/import_shims/studio/contentstore/management/commands/xlint.py +++ b/import_shims/studio/contentstore/management/commands/xlint.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'contentstore.management.commands.xlint') +warn_deprecated_import('contentstore.management.commands.xlint', 'cms.djangoapps.contentstore.management.commands.xlint') from cms.djangoapps.contentstore.management.commands.xlint import * diff --git a/import_shims/studio/contentstore/models.py b/import_shims/studio/contentstore/models.py index 637cbece69..ec7ae17b36 100644 --- a/import_shims/studio/contentstore/models.py +++ b/import_shims/studio/contentstore/models.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'contentstore.models') +warn_deprecated_import('contentstore.models', 'cms.djangoapps.contentstore.models') from cms.djangoapps.contentstore.models import * diff --git a/import_shims/studio/contentstore/proctoring.py b/import_shims/studio/contentstore/proctoring.py index eeda5073ea..c93e6929a5 100644 --- a/import_shims/studio/contentstore/proctoring.py +++ b/import_shims/studio/contentstore/proctoring.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'contentstore.proctoring') +warn_deprecated_import('contentstore.proctoring', 'cms.djangoapps.contentstore.proctoring') from cms.djangoapps.contentstore.proctoring import * diff --git a/import_shims/studio/contentstore/rest_api/__init__.py b/import_shims/studio/contentstore/rest_api/__init__.py index 0e6b8bf60d..22103eb33c 100644 --- a/import_shims/studio/contentstore/rest_api/__init__.py +++ b/import_shims/studio/contentstore/rest_api/__init__.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'contentstore.rest_api') +warn_deprecated_import('contentstore.rest_api', 'cms.djangoapps.contentstore.rest_api') from cms.djangoapps.contentstore.rest_api import * diff --git a/import_shims/studio/contentstore/rest_api/urls.py b/import_shims/studio/contentstore/rest_api/urls.py index d5ba241045..7cd8a091c4 100644 --- a/import_shims/studio/contentstore/rest_api/urls.py +++ b/import_shims/studio/contentstore/rest_api/urls.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'contentstore.rest_api.urls') +warn_deprecated_import('contentstore.rest_api.urls', 'cms.djangoapps.contentstore.rest_api.urls') from cms.djangoapps.contentstore.rest_api.urls import * diff --git a/import_shims/studio/contentstore/rest_api/v1/serializers.py b/import_shims/studio/contentstore/rest_api/v1/serializers.py index 2815259f36..a8f7fe8cce 100644 --- a/import_shims/studio/contentstore/rest_api/v1/serializers.py +++ b/import_shims/studio/contentstore/rest_api/v1/serializers.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'contentstore.rest_api.v1.serializers') +warn_deprecated_import('contentstore.rest_api.v1.serializers', 'cms.djangoapps.contentstore.rest_api.v1.serializers') from cms.djangoapps.contentstore.rest_api.v1.serializers import * diff --git a/import_shims/studio/contentstore/rest_api/v1/tests/__init__.py b/import_shims/studio/contentstore/rest_api/v1/tests/__init__.py index 67049fdf90..7432cab907 100644 --- a/import_shims/studio/contentstore/rest_api/v1/tests/__init__.py +++ b/import_shims/studio/contentstore/rest_api/v1/tests/__init__.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'contentstore.rest_api.v1.tests') +warn_deprecated_import('contentstore.rest_api.v1.tests', 'cms.djangoapps.contentstore.rest_api.v1.tests') from cms.djangoapps.contentstore.rest_api.v1.tests import * diff --git a/import_shims/studio/contentstore/rest_api/v1/tests/test_views.py b/import_shims/studio/contentstore/rest_api/v1/tests/test_views.py index 30ad100ef2..0c27eb8831 100644 --- a/import_shims/studio/contentstore/rest_api/v1/tests/test_views.py +++ b/import_shims/studio/contentstore/rest_api/v1/tests/test_views.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'contentstore.rest_api.v1.tests.test_views') +warn_deprecated_import('contentstore.rest_api.v1.tests.test_views', 'cms.djangoapps.contentstore.rest_api.v1.tests.test_views') from cms.djangoapps.contentstore.rest_api.v1.tests.test_views import * diff --git a/import_shims/studio/contentstore/rest_api/v1/urls.py b/import_shims/studio/contentstore/rest_api/v1/urls.py index da2d272576..9bdc1e6934 100644 --- a/import_shims/studio/contentstore/rest_api/v1/urls.py +++ b/import_shims/studio/contentstore/rest_api/v1/urls.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'contentstore.rest_api.v1.urls') +warn_deprecated_import('contentstore.rest_api.v1.urls', 'cms.djangoapps.contentstore.rest_api.v1.urls') from cms.djangoapps.contentstore.rest_api.v1.urls import * diff --git a/import_shims/studio/contentstore/rest_api/v1/views.py b/import_shims/studio/contentstore/rest_api/v1/views.py index 1b8971238a..2cddb4fe7d 100644 --- a/import_shims/studio/contentstore/rest_api/v1/views.py +++ b/import_shims/studio/contentstore/rest_api/v1/views.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'contentstore.rest_api.v1.views') +warn_deprecated_import('contentstore.rest_api.v1.views', 'cms.djangoapps.contentstore.rest_api.v1.views') from cms.djangoapps.contentstore.rest_api.v1.views import * diff --git a/import_shims/studio/contentstore/rules.py b/import_shims/studio/contentstore/rules.py index d05a82bbda..dcf2023d19 100644 --- a/import_shims/studio/contentstore/rules.py +++ b/import_shims/studio/contentstore/rules.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'contentstore.rules') +warn_deprecated_import('contentstore.rules', 'cms.djangoapps.contentstore.rules') from cms.djangoapps.contentstore.rules import * diff --git a/import_shims/studio/contentstore/signals/__init__.py b/import_shims/studio/contentstore/signals/__init__.py index a0db4e23e1..cf4f2004d9 100644 --- a/import_shims/studio/contentstore/signals/__init__.py +++ b/import_shims/studio/contentstore/signals/__init__.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'contentstore.signals') +warn_deprecated_import('contentstore.signals', 'cms.djangoapps.contentstore.signals') from cms.djangoapps.contentstore.signals import * diff --git a/import_shims/studio/contentstore/signals/handlers.py b/import_shims/studio/contentstore/signals/handlers.py index a3b899f650..fdecc8817e 100644 --- a/import_shims/studio/contentstore/signals/handlers.py +++ b/import_shims/studio/contentstore/signals/handlers.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'contentstore.signals.handlers') +warn_deprecated_import('contentstore.signals.handlers', 'cms.djangoapps.contentstore.signals.handlers') from cms.djangoapps.contentstore.signals.handlers import * diff --git a/import_shims/studio/contentstore/signals/signals.py b/import_shims/studio/contentstore/signals/signals.py index 8e1d26bffc..5641f59e3f 100644 --- a/import_shims/studio/contentstore/signals/signals.py +++ b/import_shims/studio/contentstore/signals/signals.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'contentstore.signals.signals') +warn_deprecated_import('contentstore.signals.signals', 'cms.djangoapps.contentstore.signals.signals') from cms.djangoapps.contentstore.signals.signals import * diff --git a/import_shims/studio/contentstore/storage.py b/import_shims/studio/contentstore/storage.py index 609fcbb435..ab6f191729 100644 --- a/import_shims/studio/contentstore/storage.py +++ b/import_shims/studio/contentstore/storage.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'contentstore.storage') +warn_deprecated_import('contentstore.storage', 'cms.djangoapps.contentstore.storage') from cms.djangoapps.contentstore.storage import * diff --git a/import_shims/studio/contentstore/tasks.py b/import_shims/studio/contentstore/tasks.py index 31e2ae6ac2..349f8e5c9b 100644 --- a/import_shims/studio/contentstore/tasks.py +++ b/import_shims/studio/contentstore/tasks.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'contentstore.tasks') +warn_deprecated_import('contentstore.tasks', 'cms.djangoapps.contentstore.tasks') from cms.djangoapps.contentstore.tasks import * diff --git a/import_shims/studio/contentstore/tests/__init__.py b/import_shims/studio/contentstore/tests/__init__.py index 82fe98e832..08c7327aa7 100644 --- a/import_shims/studio/contentstore/tests/__init__.py +++ b/import_shims/studio/contentstore/tests/__init__.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'contentstore.tests') +warn_deprecated_import('contentstore.tests', 'cms.djangoapps.contentstore.tests') from cms.djangoapps.contentstore.tests import * diff --git a/import_shims/studio/contentstore/tests/test_clone_course.py b/import_shims/studio/contentstore/tests/test_clone_course.py index 472a57366c..1a17706131 100644 --- a/import_shims/studio/contentstore/tests/test_clone_course.py +++ b/import_shims/studio/contentstore/tests/test_clone_course.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'contentstore.tests.test_clone_course') +warn_deprecated_import('contentstore.tests.test_clone_course', 'cms.djangoapps.contentstore.tests.test_clone_course') from cms.djangoapps.contentstore.tests.test_clone_course import * diff --git a/import_shims/studio/contentstore/tests/test_contentstore.py b/import_shims/studio/contentstore/tests/test_contentstore.py index d2682b41fc..d1a927e250 100644 --- a/import_shims/studio/contentstore/tests/test_contentstore.py +++ b/import_shims/studio/contentstore/tests/test_contentstore.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'contentstore.tests.test_contentstore') +warn_deprecated_import('contentstore.tests.test_contentstore', 'cms.djangoapps.contentstore.tests.test_contentstore') from cms.djangoapps.contentstore.tests.test_contentstore import * diff --git a/import_shims/studio/contentstore/tests/test_core_caching.py b/import_shims/studio/contentstore/tests/test_core_caching.py index ab6a6738da..4ca006b104 100644 --- a/import_shims/studio/contentstore/tests/test_core_caching.py +++ b/import_shims/studio/contentstore/tests/test_core_caching.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'contentstore.tests.test_core_caching') +warn_deprecated_import('contentstore.tests.test_core_caching', 'cms.djangoapps.contentstore.tests.test_core_caching') from cms.djangoapps.contentstore.tests.test_core_caching import * diff --git a/import_shims/studio/contentstore/tests/test_course_create_rerun.py b/import_shims/studio/contentstore/tests/test_course_create_rerun.py index 5c2357564d..2683230fea 100644 --- a/import_shims/studio/contentstore/tests/test_course_create_rerun.py +++ b/import_shims/studio/contentstore/tests/test_course_create_rerun.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'contentstore.tests.test_course_create_rerun') +warn_deprecated_import('contentstore.tests.test_course_create_rerun', 'cms.djangoapps.contentstore.tests.test_course_create_rerun') from cms.djangoapps.contentstore.tests.test_course_create_rerun import * diff --git a/import_shims/studio/contentstore/tests/test_course_listing.py b/import_shims/studio/contentstore/tests/test_course_listing.py index 3945ae7aa5..cc8a734bd0 100644 --- a/import_shims/studio/contentstore/tests/test_course_listing.py +++ b/import_shims/studio/contentstore/tests/test_course_listing.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'contentstore.tests.test_course_listing') +warn_deprecated_import('contentstore.tests.test_course_listing', 'cms.djangoapps.contentstore.tests.test_course_listing') from cms.djangoapps.contentstore.tests.test_course_listing import * diff --git a/import_shims/studio/contentstore/tests/test_course_settings.py b/import_shims/studio/contentstore/tests/test_course_settings.py index bbfb0b6ffd..a622cecfbf 100644 --- a/import_shims/studio/contentstore/tests/test_course_settings.py +++ b/import_shims/studio/contentstore/tests/test_course_settings.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'contentstore.tests.test_course_settings') +warn_deprecated_import('contentstore.tests.test_course_settings', 'cms.djangoapps.contentstore.tests.test_course_settings') from cms.djangoapps.contentstore.tests.test_course_settings import * diff --git a/import_shims/studio/contentstore/tests/test_courseware_index.py b/import_shims/studio/contentstore/tests/test_courseware_index.py index a44adceec0..284c0966a8 100644 --- a/import_shims/studio/contentstore/tests/test_courseware_index.py +++ b/import_shims/studio/contentstore/tests/test_courseware_index.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'contentstore.tests.test_courseware_index') +warn_deprecated_import('contentstore.tests.test_courseware_index', 'cms.djangoapps.contentstore.tests.test_courseware_index') from cms.djangoapps.contentstore.tests.test_courseware_index import * diff --git a/import_shims/studio/contentstore/tests/test_crud.py b/import_shims/studio/contentstore/tests/test_crud.py index f7222be025..cac2ef7fc4 100644 --- a/import_shims/studio/contentstore/tests/test_crud.py +++ b/import_shims/studio/contentstore/tests/test_crud.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'contentstore.tests.test_crud') +warn_deprecated_import('contentstore.tests.test_crud', 'cms.djangoapps.contentstore.tests.test_crud') from cms.djangoapps.contentstore.tests.test_crud import * diff --git a/import_shims/studio/contentstore/tests/test_export_git.py b/import_shims/studio/contentstore/tests/test_export_git.py index 5980aa970d..bfb669e504 100644 --- a/import_shims/studio/contentstore/tests/test_export_git.py +++ b/import_shims/studio/contentstore/tests/test_export_git.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'contentstore.tests.test_export_git') +warn_deprecated_import('contentstore.tests.test_export_git', 'cms.djangoapps.contentstore.tests.test_export_git') from cms.djangoapps.contentstore.tests.test_export_git import * diff --git a/import_shims/studio/contentstore/tests/test_gating.py b/import_shims/studio/contentstore/tests/test_gating.py index 5c9f6ab9af..7585bc29ac 100644 --- a/import_shims/studio/contentstore/tests/test_gating.py +++ b/import_shims/studio/contentstore/tests/test_gating.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'contentstore.tests.test_gating') +warn_deprecated_import('contentstore.tests.test_gating', 'cms.djangoapps.contentstore.tests.test_gating') from cms.djangoapps.contentstore.tests.test_gating import * diff --git a/import_shims/studio/contentstore/tests/test_i18n.py b/import_shims/studio/contentstore/tests/test_i18n.py index efdda9a439..0b198f282f 100644 --- a/import_shims/studio/contentstore/tests/test_i18n.py +++ b/import_shims/studio/contentstore/tests/test_i18n.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'contentstore.tests.test_i18n') +warn_deprecated_import('contentstore.tests.test_i18n', 'cms.djangoapps.contentstore.tests.test_i18n') from cms.djangoapps.contentstore.tests.test_i18n import * diff --git a/import_shims/studio/contentstore/tests/test_import.py b/import_shims/studio/contentstore/tests/test_import.py index 26dbf60d5f..3e5fdc8ffe 100644 --- a/import_shims/studio/contentstore/tests/test_import.py +++ b/import_shims/studio/contentstore/tests/test_import.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'contentstore.tests.test_import') +warn_deprecated_import('contentstore.tests.test_import', 'cms.djangoapps.contentstore.tests.test_import') from cms.djangoapps.contentstore.tests.test_import import * diff --git a/import_shims/studio/contentstore/tests/test_import_draft_order.py b/import_shims/studio/contentstore/tests/test_import_draft_order.py index 2a5ac21a42..81c34c7054 100644 --- a/import_shims/studio/contentstore/tests/test_import_draft_order.py +++ b/import_shims/studio/contentstore/tests/test_import_draft_order.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'contentstore.tests.test_import_draft_order') +warn_deprecated_import('contentstore.tests.test_import_draft_order', 'cms.djangoapps.contentstore.tests.test_import_draft_order') from cms.djangoapps.contentstore.tests.test_import_draft_order import * diff --git a/import_shims/studio/contentstore/tests/test_import_pure_xblock.py b/import_shims/studio/contentstore/tests/test_import_pure_xblock.py index 882b01a550..f0fc9bce5b 100644 --- a/import_shims/studio/contentstore/tests/test_import_pure_xblock.py +++ b/import_shims/studio/contentstore/tests/test_import_pure_xblock.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'contentstore.tests.test_import_pure_xblock') +warn_deprecated_import('contentstore.tests.test_import_pure_xblock', 'cms.djangoapps.contentstore.tests.test_import_pure_xblock') from cms.djangoapps.contentstore.tests.test_import_pure_xblock import * diff --git a/import_shims/studio/contentstore/tests/test_libraries.py b/import_shims/studio/contentstore/tests/test_libraries.py index b89a4f0aab..3a91d1cca8 100644 --- a/import_shims/studio/contentstore/tests/test_libraries.py +++ b/import_shims/studio/contentstore/tests/test_libraries.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'contentstore.tests.test_libraries') +warn_deprecated_import('contentstore.tests.test_libraries', 'cms.djangoapps.contentstore.tests.test_libraries') from cms.djangoapps.contentstore.tests.test_libraries import * diff --git a/import_shims/studio/contentstore/tests/test_orphan.py b/import_shims/studio/contentstore/tests/test_orphan.py index f9fec50303..9307238533 100644 --- a/import_shims/studio/contentstore/tests/test_orphan.py +++ b/import_shims/studio/contentstore/tests/test_orphan.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'contentstore.tests.test_orphan') +warn_deprecated_import('contentstore.tests.test_orphan', 'cms.djangoapps.contentstore.tests.test_orphan') from cms.djangoapps.contentstore.tests.test_orphan import * diff --git a/import_shims/studio/contentstore/tests/test_permissions.py b/import_shims/studio/contentstore/tests/test_permissions.py index 65e28ef1e6..1761ad53a1 100644 --- a/import_shims/studio/contentstore/tests/test_permissions.py +++ b/import_shims/studio/contentstore/tests/test_permissions.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'contentstore.tests.test_permissions') +warn_deprecated_import('contentstore.tests.test_permissions', 'cms.djangoapps.contentstore.tests.test_permissions') from cms.djangoapps.contentstore.tests.test_permissions import * diff --git a/import_shims/studio/contentstore/tests/test_proctoring.py b/import_shims/studio/contentstore/tests/test_proctoring.py index 9aab593810..89bf493ad4 100644 --- a/import_shims/studio/contentstore/tests/test_proctoring.py +++ b/import_shims/studio/contentstore/tests/test_proctoring.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'contentstore.tests.test_proctoring') +warn_deprecated_import('contentstore.tests.test_proctoring', 'cms.djangoapps.contentstore.tests.test_proctoring') from cms.djangoapps.contentstore.tests.test_proctoring import * diff --git a/import_shims/studio/contentstore/tests/test_request_event.py b/import_shims/studio/contentstore/tests/test_request_event.py index d44dbd3c88..231ccfbaa4 100644 --- a/import_shims/studio/contentstore/tests/test_request_event.py +++ b/import_shims/studio/contentstore/tests/test_request_event.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'contentstore.tests.test_request_event') +warn_deprecated_import('contentstore.tests.test_request_event', 'cms.djangoapps.contentstore.tests.test_request_event') from cms.djangoapps.contentstore.tests.test_request_event import * diff --git a/import_shims/studio/contentstore/tests/test_signals.py b/import_shims/studio/contentstore/tests/test_signals.py index 47916c188d..a0eeefcf9d 100644 --- a/import_shims/studio/contentstore/tests/test_signals.py +++ b/import_shims/studio/contentstore/tests/test_signals.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'contentstore.tests.test_signals') +warn_deprecated_import('contentstore.tests.test_signals', 'cms.djangoapps.contentstore.tests.test_signals') from cms.djangoapps.contentstore.tests.test_signals import * diff --git a/import_shims/studio/contentstore/tests/test_tasks.py b/import_shims/studio/contentstore/tests/test_tasks.py index f29b4581f7..7b87b49fdf 100644 --- a/import_shims/studio/contentstore/tests/test_tasks.py +++ b/import_shims/studio/contentstore/tests/test_tasks.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'contentstore.tests.test_tasks') +warn_deprecated_import('contentstore.tests.test_tasks', 'cms.djangoapps.contentstore.tests.test_tasks') from cms.djangoapps.contentstore.tests.test_tasks import * diff --git a/import_shims/studio/contentstore/tests/test_transcripts_utils.py b/import_shims/studio/contentstore/tests/test_transcripts_utils.py index 299566da07..259df05faa 100644 --- a/import_shims/studio/contentstore/tests/test_transcripts_utils.py +++ b/import_shims/studio/contentstore/tests/test_transcripts_utils.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'contentstore.tests.test_transcripts_utils') +warn_deprecated_import('contentstore.tests.test_transcripts_utils', 'cms.djangoapps.contentstore.tests.test_transcripts_utils') from cms.djangoapps.contentstore.tests.test_transcripts_utils import * diff --git a/import_shims/studio/contentstore/tests/test_users_default_role.py b/import_shims/studio/contentstore/tests/test_users_default_role.py index 7bc5142e2e..abf2369520 100644 --- a/import_shims/studio/contentstore/tests/test_users_default_role.py +++ b/import_shims/studio/contentstore/tests/test_users_default_role.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'contentstore.tests.test_users_default_role') +warn_deprecated_import('contentstore.tests.test_users_default_role', 'cms.djangoapps.contentstore.tests.test_users_default_role') from cms.djangoapps.contentstore.tests.test_users_default_role import * diff --git a/import_shims/studio/contentstore/tests/test_utils.py b/import_shims/studio/contentstore/tests/test_utils.py index e536235cfc..c01bdd403b 100644 --- a/import_shims/studio/contentstore/tests/test_utils.py +++ b/import_shims/studio/contentstore/tests/test_utils.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'contentstore.tests.test_utils') +warn_deprecated_import('contentstore.tests.test_utils', 'cms.djangoapps.contentstore.tests.test_utils') from cms.djangoapps.contentstore.tests.test_utils import * diff --git a/import_shims/studio/contentstore/tests/test_video_utils.py b/import_shims/studio/contentstore/tests/test_video_utils.py index 578f3028c9..2daf085aea 100644 --- a/import_shims/studio/contentstore/tests/test_video_utils.py +++ b/import_shims/studio/contentstore/tests/test_video_utils.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'contentstore.tests.test_video_utils') +warn_deprecated_import('contentstore.tests.test_video_utils', 'cms.djangoapps.contentstore.tests.test_video_utils') from cms.djangoapps.contentstore.tests.test_video_utils import * diff --git a/import_shims/studio/contentstore/tests/tests.py b/import_shims/studio/contentstore/tests/tests.py index 3737be5084..26d082490e 100644 --- a/import_shims/studio/contentstore/tests/tests.py +++ b/import_shims/studio/contentstore/tests/tests.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'contentstore.tests.tests') +warn_deprecated_import('contentstore.tests.tests', 'cms.djangoapps.contentstore.tests.tests') from cms.djangoapps.contentstore.tests.tests import * diff --git a/import_shims/studio/contentstore/tests/utils.py b/import_shims/studio/contentstore/tests/utils.py index 7fdbd4717c..8df71ee180 100644 --- a/import_shims/studio/contentstore/tests/utils.py +++ b/import_shims/studio/contentstore/tests/utils.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'contentstore.tests.utils') +warn_deprecated_import('contentstore.tests.utils', 'cms.djangoapps.contentstore.tests.utils') from cms.djangoapps.contentstore.tests.utils import * diff --git a/import_shims/studio/contentstore/utils.py b/import_shims/studio/contentstore/utils.py index 17ce0658ef..b4b59561a9 100644 --- a/import_shims/studio/contentstore/utils.py +++ b/import_shims/studio/contentstore/utils.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'contentstore.utils') +warn_deprecated_import('contentstore.utils', 'cms.djangoapps.contentstore.utils') from cms.djangoapps.contentstore.utils import * diff --git a/import_shims/studio/contentstore/video_utils.py b/import_shims/studio/contentstore/video_utils.py index 915d1287e6..aed084d491 100644 --- a/import_shims/studio/contentstore/video_utils.py +++ b/import_shims/studio/contentstore/video_utils.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'contentstore.video_utils') +warn_deprecated_import('contentstore.video_utils', 'cms.djangoapps.contentstore.video_utils') from cms.djangoapps.contentstore.video_utils import * diff --git a/import_shims/studio/contentstore/views/__init__.py b/import_shims/studio/contentstore/views/__init__.py index 83dfafec70..8ac0f847c4 100644 --- a/import_shims/studio/contentstore/views/__init__.py +++ b/import_shims/studio/contentstore/views/__init__.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'contentstore.views') +warn_deprecated_import('contentstore.views', 'cms.djangoapps.contentstore.views') from cms.djangoapps.contentstore.views import * diff --git a/import_shims/studio/contentstore/views/access.py b/import_shims/studio/contentstore/views/access.py index 1fb76b68f2..01539fd833 100644 --- a/import_shims/studio/contentstore/views/access.py +++ b/import_shims/studio/contentstore/views/access.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'contentstore.views.access') +warn_deprecated_import('contentstore.views.access', 'cms.djangoapps.contentstore.views.access') from cms.djangoapps.contentstore.views.access import * diff --git a/import_shims/studio/contentstore/views/assets.py b/import_shims/studio/contentstore/views/assets.py index 87373f76c3..bcb6f252d0 100644 --- a/import_shims/studio/contentstore/views/assets.py +++ b/import_shims/studio/contentstore/views/assets.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'contentstore.views.assets') +warn_deprecated_import('contentstore.views.assets', 'cms.djangoapps.contentstore.views.assets') from cms.djangoapps.contentstore.views.assets import * diff --git a/import_shims/studio/contentstore/views/certificates.py b/import_shims/studio/contentstore/views/certificates.py index 65a38b533e..6d62e3a74f 100644 --- a/import_shims/studio/contentstore/views/certificates.py +++ b/import_shims/studio/contentstore/views/certificates.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'contentstore.views.certificates') +warn_deprecated_import('contentstore.views.certificates', 'cms.djangoapps.contentstore.views.certificates') from cms.djangoapps.contentstore.views.certificates import * diff --git a/import_shims/studio/contentstore/views/checklists.py b/import_shims/studio/contentstore/views/checklists.py index 98ffb755ac..84011321a6 100644 --- a/import_shims/studio/contentstore/views/checklists.py +++ b/import_shims/studio/contentstore/views/checklists.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'contentstore.views.checklists') +warn_deprecated_import('contentstore.views.checklists', 'cms.djangoapps.contentstore.views.checklists') from cms.djangoapps.contentstore.views.checklists import * diff --git a/import_shims/studio/contentstore/views/component.py b/import_shims/studio/contentstore/views/component.py index 452ec574ca..2f7c7537f0 100644 --- a/import_shims/studio/contentstore/views/component.py +++ b/import_shims/studio/contentstore/views/component.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'contentstore.views.component') +warn_deprecated_import('contentstore.views.component', 'cms.djangoapps.contentstore.views.component') from cms.djangoapps.contentstore.views.component import * diff --git a/import_shims/studio/contentstore/views/course.py b/import_shims/studio/contentstore/views/course.py index d71b9fd198..22a6aca3cf 100644 --- a/import_shims/studio/contentstore/views/course.py +++ b/import_shims/studio/contentstore/views/course.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'contentstore.views.course') +warn_deprecated_import('contentstore.views.course', 'cms.djangoapps.contentstore.views.course') from cms.djangoapps.contentstore.views.course import * diff --git a/import_shims/studio/contentstore/views/dev.py b/import_shims/studio/contentstore/views/dev.py index 60e3442b62..d291ad3b87 100644 --- a/import_shims/studio/contentstore/views/dev.py +++ b/import_shims/studio/contentstore/views/dev.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'contentstore.views.dev') +warn_deprecated_import('contentstore.views.dev', 'cms.djangoapps.contentstore.views.dev') from cms.djangoapps.contentstore.views.dev import * diff --git a/import_shims/studio/contentstore/views/entrance_exam.py b/import_shims/studio/contentstore/views/entrance_exam.py index 92d66d7249..dc26f01dd6 100644 --- a/import_shims/studio/contentstore/views/entrance_exam.py +++ b/import_shims/studio/contentstore/views/entrance_exam.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'contentstore.views.entrance_exam') +warn_deprecated_import('contentstore.views.entrance_exam', 'cms.djangoapps.contentstore.views.entrance_exam') from cms.djangoapps.contentstore.views.entrance_exam import * diff --git a/import_shims/studio/contentstore/views/error.py b/import_shims/studio/contentstore/views/error.py index fa1b6c2767..d40baf12cd 100644 --- a/import_shims/studio/contentstore/views/error.py +++ b/import_shims/studio/contentstore/views/error.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'contentstore.views.error') +warn_deprecated_import('contentstore.views.error', 'cms.djangoapps.contentstore.views.error') from cms.djangoapps.contentstore.views.error import * diff --git a/import_shims/studio/contentstore/views/exception.py b/import_shims/studio/contentstore/views/exception.py index ee790ee98a..229c00ff35 100644 --- a/import_shims/studio/contentstore/views/exception.py +++ b/import_shims/studio/contentstore/views/exception.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'contentstore.views.exception') +warn_deprecated_import('contentstore.views.exception', 'cms.djangoapps.contentstore.views.exception') from cms.djangoapps.contentstore.views.exception import * diff --git a/import_shims/studio/contentstore/views/export_git.py b/import_shims/studio/contentstore/views/export_git.py index 91f35e5197..9dda3feef2 100644 --- a/import_shims/studio/contentstore/views/export_git.py +++ b/import_shims/studio/contentstore/views/export_git.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'contentstore.views.export_git') +warn_deprecated_import('contentstore.views.export_git', 'cms.djangoapps.contentstore.views.export_git') from cms.djangoapps.contentstore.views.export_git import * diff --git a/import_shims/studio/contentstore/views/helpers.py b/import_shims/studio/contentstore/views/helpers.py index 9591975042..934c9824e7 100644 --- a/import_shims/studio/contentstore/views/helpers.py +++ b/import_shims/studio/contentstore/views/helpers.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'contentstore.views.helpers') +warn_deprecated_import('contentstore.views.helpers', 'cms.djangoapps.contentstore.views.helpers') from cms.djangoapps.contentstore.views.helpers import * diff --git a/import_shims/studio/contentstore/views/import_export.py b/import_shims/studio/contentstore/views/import_export.py index 3e41e99c69..1084148445 100644 --- a/import_shims/studio/contentstore/views/import_export.py +++ b/import_shims/studio/contentstore/views/import_export.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'contentstore.views.import_export') +warn_deprecated_import('contentstore.views.import_export', 'cms.djangoapps.contentstore.views.import_export') from cms.djangoapps.contentstore.views.import_export import * diff --git a/import_shims/studio/contentstore/views/item.py b/import_shims/studio/contentstore/views/item.py index cc7d83acd6..daa05fe904 100644 --- a/import_shims/studio/contentstore/views/item.py +++ b/import_shims/studio/contentstore/views/item.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'contentstore.views.item') +warn_deprecated_import('contentstore.views.item', 'cms.djangoapps.contentstore.views.item') from cms.djangoapps.contentstore.views.item import * diff --git a/import_shims/studio/contentstore/views/library.py b/import_shims/studio/contentstore/views/library.py index 8adabe61d8..f3423280d5 100644 --- a/import_shims/studio/contentstore/views/library.py +++ b/import_shims/studio/contentstore/views/library.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'contentstore.views.library') +warn_deprecated_import('contentstore.views.library', 'cms.djangoapps.contentstore.views.library') from cms.djangoapps.contentstore.views.library import * diff --git a/import_shims/studio/contentstore/views/organization.py b/import_shims/studio/contentstore/views/organization.py index ab08006a33..7bb5520797 100644 --- a/import_shims/studio/contentstore/views/organization.py +++ b/import_shims/studio/contentstore/views/organization.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'contentstore.views.organization') +warn_deprecated_import('contentstore.views.organization', 'cms.djangoapps.contentstore.views.organization') from cms.djangoapps.contentstore.views.organization import * diff --git a/import_shims/studio/contentstore/views/preview.py b/import_shims/studio/contentstore/views/preview.py index 2886d9ef16..2c827a4103 100644 --- a/import_shims/studio/contentstore/views/preview.py +++ b/import_shims/studio/contentstore/views/preview.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'contentstore.views.preview') +warn_deprecated_import('contentstore.views.preview', 'cms.djangoapps.contentstore.views.preview') from cms.djangoapps.contentstore.views.preview import * diff --git a/import_shims/studio/contentstore/views/public.py b/import_shims/studio/contentstore/views/public.py index 2b5c45e028..eb653ebacb 100644 --- a/import_shims/studio/contentstore/views/public.py +++ b/import_shims/studio/contentstore/views/public.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'contentstore.views.public') +warn_deprecated_import('contentstore.views.public', 'cms.djangoapps.contentstore.views.public') from cms.djangoapps.contentstore.views.public import * diff --git a/import_shims/studio/contentstore/views/session_kv_store.py b/import_shims/studio/contentstore/views/session_kv_store.py index 313a249a7e..ed38b2fc6d 100644 --- a/import_shims/studio/contentstore/views/session_kv_store.py +++ b/import_shims/studio/contentstore/views/session_kv_store.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'contentstore.views.session_kv_store') +warn_deprecated_import('contentstore.views.session_kv_store', 'cms.djangoapps.contentstore.views.session_kv_store') from cms.djangoapps.contentstore.views.session_kv_store import * diff --git a/import_shims/studio/contentstore/views/tabs.py b/import_shims/studio/contentstore/views/tabs.py index 2965857154..58b3ebb4cd 100644 --- a/import_shims/studio/contentstore/views/tabs.py +++ b/import_shims/studio/contentstore/views/tabs.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'contentstore.views.tabs') +warn_deprecated_import('contentstore.views.tabs', 'cms.djangoapps.contentstore.views.tabs') from cms.djangoapps.contentstore.views.tabs import * diff --git a/import_shims/studio/contentstore/views/tests/__init__.py b/import_shims/studio/contentstore/views/tests/__init__.py index 6902d910a9..fe90429549 100644 --- a/import_shims/studio/contentstore/views/tests/__init__.py +++ b/import_shims/studio/contentstore/views/tests/__init__.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'contentstore.views.tests') +warn_deprecated_import('contentstore.views.tests', 'cms.djangoapps.contentstore.views.tests') from cms.djangoapps.contentstore.views.tests import * diff --git a/import_shims/studio/contentstore/views/tests/test_access.py b/import_shims/studio/contentstore/views/tests/test_access.py index be0de443ec..c3ac54e113 100644 --- a/import_shims/studio/contentstore/views/tests/test_access.py +++ b/import_shims/studio/contentstore/views/tests/test_access.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'contentstore.views.tests.test_access') +warn_deprecated_import('contentstore.views.tests.test_access', 'cms.djangoapps.contentstore.views.tests.test_access') from cms.djangoapps.contentstore.views.tests.test_access import * diff --git a/import_shims/studio/contentstore/views/tests/test_assets.py b/import_shims/studio/contentstore/views/tests/test_assets.py index 28a7c5402d..84e68a3856 100644 --- a/import_shims/studio/contentstore/views/tests/test_assets.py +++ b/import_shims/studio/contentstore/views/tests/test_assets.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'contentstore.views.tests.test_assets') +warn_deprecated_import('contentstore.views.tests.test_assets', 'cms.djangoapps.contentstore.views.tests.test_assets') from cms.djangoapps.contentstore.views.tests.test_assets import * diff --git a/import_shims/studio/contentstore/views/tests/test_certificates.py b/import_shims/studio/contentstore/views/tests/test_certificates.py index f3a4d1f01b..20669a18e5 100644 --- a/import_shims/studio/contentstore/views/tests/test_certificates.py +++ b/import_shims/studio/contentstore/views/tests/test_certificates.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'contentstore.views.tests.test_certificates') +warn_deprecated_import('contentstore.views.tests.test_certificates', 'cms.djangoapps.contentstore.views.tests.test_certificates') from cms.djangoapps.contentstore.views.tests.test_certificates import * diff --git a/import_shims/studio/contentstore/views/tests/test_container_page.py b/import_shims/studio/contentstore/views/tests/test_container_page.py index 05f7173f3d..5565832305 100644 --- a/import_shims/studio/contentstore/views/tests/test_container_page.py +++ b/import_shims/studio/contentstore/views/tests/test_container_page.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'contentstore.views.tests.test_container_page') +warn_deprecated_import('contentstore.views.tests.test_container_page', 'cms.djangoapps.contentstore.views.tests.test_container_page') from cms.djangoapps.contentstore.views.tests.test_container_page import * diff --git a/import_shims/studio/contentstore/views/tests/test_course_index.py b/import_shims/studio/contentstore/views/tests/test_course_index.py index 4ba23d7b9e..cc76781fa9 100644 --- a/import_shims/studio/contentstore/views/tests/test_course_index.py +++ b/import_shims/studio/contentstore/views/tests/test_course_index.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'contentstore.views.tests.test_course_index') +warn_deprecated_import('contentstore.views.tests.test_course_index', 'cms.djangoapps.contentstore.views.tests.test_course_index') from cms.djangoapps.contentstore.views.tests.test_course_index import * diff --git a/import_shims/studio/contentstore/views/tests/test_course_updates.py b/import_shims/studio/contentstore/views/tests/test_course_updates.py index 0ddb0d0cae..cf57c7f72a 100644 --- a/import_shims/studio/contentstore/views/tests/test_course_updates.py +++ b/import_shims/studio/contentstore/views/tests/test_course_updates.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'contentstore.views.tests.test_course_updates') +warn_deprecated_import('contentstore.views.tests.test_course_updates', 'cms.djangoapps.contentstore.views.tests.test_course_updates') from cms.djangoapps.contentstore.views.tests.test_course_updates import * diff --git a/import_shims/studio/contentstore/views/tests/test_credit_eligibility.py b/import_shims/studio/contentstore/views/tests/test_credit_eligibility.py index 5dd70de927..2e28fb1ad1 100644 --- a/import_shims/studio/contentstore/views/tests/test_credit_eligibility.py +++ b/import_shims/studio/contentstore/views/tests/test_credit_eligibility.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'contentstore.views.tests.test_credit_eligibility') +warn_deprecated_import('contentstore.views.tests.test_credit_eligibility', 'cms.djangoapps.contentstore.views.tests.test_credit_eligibility') from cms.djangoapps.contentstore.views.tests.test_credit_eligibility import * diff --git a/import_shims/studio/contentstore/views/tests/test_entrance_exam.py b/import_shims/studio/contentstore/views/tests/test_entrance_exam.py index 188d71d526..51a1aaa0b9 100644 --- a/import_shims/studio/contentstore/views/tests/test_entrance_exam.py +++ b/import_shims/studio/contentstore/views/tests/test_entrance_exam.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'contentstore.views.tests.test_entrance_exam') +warn_deprecated_import('contentstore.views.tests.test_entrance_exam', 'cms.djangoapps.contentstore.views.tests.test_entrance_exam') from cms.djangoapps.contentstore.views.tests.test_entrance_exam import * diff --git a/import_shims/studio/contentstore/views/tests/test_exam_settings_view.py b/import_shims/studio/contentstore/views/tests/test_exam_settings_view.py index 0c9476b205..63e5ae117b 100644 --- a/import_shims/studio/contentstore/views/tests/test_exam_settings_view.py +++ b/import_shims/studio/contentstore/views/tests/test_exam_settings_view.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'contentstore.views.tests.test_exam_settings_view') +warn_deprecated_import('contentstore.views.tests.test_exam_settings_view', 'cms.djangoapps.contentstore.views.tests.test_exam_settings_view') from cms.djangoapps.contentstore.views.tests.test_exam_settings_view import * diff --git a/import_shims/studio/contentstore/views/tests/test_gating.py b/import_shims/studio/contentstore/views/tests/test_gating.py index a45c18f640..6947645276 100644 --- a/import_shims/studio/contentstore/views/tests/test_gating.py +++ b/import_shims/studio/contentstore/views/tests/test_gating.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'contentstore.views.tests.test_gating') +warn_deprecated_import('contentstore.views.tests.test_gating', 'cms.djangoapps.contentstore.views.tests.test_gating') from cms.djangoapps.contentstore.views.tests.test_gating import * diff --git a/import_shims/studio/contentstore/views/tests/test_group_configurations.py b/import_shims/studio/contentstore/views/tests/test_group_configurations.py index 24ab27dfe4..18b3846747 100644 --- a/import_shims/studio/contentstore/views/tests/test_group_configurations.py +++ b/import_shims/studio/contentstore/views/tests/test_group_configurations.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'contentstore.views.tests.test_group_configurations') +warn_deprecated_import('contentstore.views.tests.test_group_configurations', 'cms.djangoapps.contentstore.views.tests.test_group_configurations') from cms.djangoapps.contentstore.views.tests.test_group_configurations import * diff --git a/import_shims/studio/contentstore/views/tests/test_header_menu.py b/import_shims/studio/contentstore/views/tests/test_header_menu.py index 0baaf969f4..5809c5b6ca 100644 --- a/import_shims/studio/contentstore/views/tests/test_header_menu.py +++ b/import_shims/studio/contentstore/views/tests/test_header_menu.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'contentstore.views.tests.test_header_menu') +warn_deprecated_import('contentstore.views.tests.test_header_menu', 'cms.djangoapps.contentstore.views.tests.test_header_menu') from cms.djangoapps.contentstore.views.tests.test_header_menu import * diff --git a/import_shims/studio/contentstore/views/tests/test_helpers.py b/import_shims/studio/contentstore/views/tests/test_helpers.py index 390d8f0514..ecd88d0ba0 100644 --- a/import_shims/studio/contentstore/views/tests/test_helpers.py +++ b/import_shims/studio/contentstore/views/tests/test_helpers.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'contentstore.views.tests.test_helpers') +warn_deprecated_import('contentstore.views.tests.test_helpers', 'cms.djangoapps.contentstore.views.tests.test_helpers') from cms.djangoapps.contentstore.views.tests.test_helpers import * diff --git a/import_shims/studio/contentstore/views/tests/test_import_export.py b/import_shims/studio/contentstore/views/tests/test_import_export.py index bafd3658ee..6ada67e25d 100644 --- a/import_shims/studio/contentstore/views/tests/test_import_export.py +++ b/import_shims/studio/contentstore/views/tests/test_import_export.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'contentstore.views.tests.test_import_export') +warn_deprecated_import('contentstore.views.tests.test_import_export', 'cms.djangoapps.contentstore.views.tests.test_import_export') from cms.djangoapps.contentstore.views.tests.test_import_export import * diff --git a/import_shims/studio/contentstore/views/tests/test_item.py b/import_shims/studio/contentstore/views/tests/test_item.py index 8085575129..3df9ec09c8 100644 --- a/import_shims/studio/contentstore/views/tests/test_item.py +++ b/import_shims/studio/contentstore/views/tests/test_item.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'contentstore.views.tests.test_item') +warn_deprecated_import('contentstore.views.tests.test_item', 'cms.djangoapps.contentstore.views.tests.test_item') from cms.djangoapps.contentstore.views.tests.test_item import * diff --git a/import_shims/studio/contentstore/views/tests/test_library.py b/import_shims/studio/contentstore/views/tests/test_library.py index e7370aa2cb..d4afb57c3e 100644 --- a/import_shims/studio/contentstore/views/tests/test_library.py +++ b/import_shims/studio/contentstore/views/tests/test_library.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'contentstore.views.tests.test_library') +warn_deprecated_import('contentstore.views.tests.test_library', 'cms.djangoapps.contentstore.views.tests.test_library') from cms.djangoapps.contentstore.views.tests.test_library import * diff --git a/import_shims/studio/contentstore/views/tests/test_organizations.py b/import_shims/studio/contentstore/views/tests/test_organizations.py index c68647a8d4..c6c6ef0dff 100644 --- a/import_shims/studio/contentstore/views/tests/test_organizations.py +++ b/import_shims/studio/contentstore/views/tests/test_organizations.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'contentstore.views.tests.test_organizations') +warn_deprecated_import('contentstore.views.tests.test_organizations', 'cms.djangoapps.contentstore.views.tests.test_organizations') from cms.djangoapps.contentstore.views.tests.test_organizations import * diff --git a/import_shims/studio/contentstore/views/tests/test_preview.py b/import_shims/studio/contentstore/views/tests/test_preview.py index db6e5ea2bd..9b85ee0d9e 100644 --- a/import_shims/studio/contentstore/views/tests/test_preview.py +++ b/import_shims/studio/contentstore/views/tests/test_preview.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'contentstore.views.tests.test_preview') +warn_deprecated_import('contentstore.views.tests.test_preview', 'cms.djangoapps.contentstore.views.tests.test_preview') from cms.djangoapps.contentstore.views.tests.test_preview import * diff --git a/import_shims/studio/contentstore/views/tests/test_tabs.py b/import_shims/studio/contentstore/views/tests/test_tabs.py index 433940a5a5..969c8e5744 100644 --- a/import_shims/studio/contentstore/views/tests/test_tabs.py +++ b/import_shims/studio/contentstore/views/tests/test_tabs.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'contentstore.views.tests.test_tabs') +warn_deprecated_import('contentstore.views.tests.test_tabs', 'cms.djangoapps.contentstore.views.tests.test_tabs') from cms.djangoapps.contentstore.views.tests.test_tabs import * diff --git a/import_shims/studio/contentstore/views/tests/test_textbooks.py b/import_shims/studio/contentstore/views/tests/test_textbooks.py index 049b47466f..393520c016 100644 --- a/import_shims/studio/contentstore/views/tests/test_textbooks.py +++ b/import_shims/studio/contentstore/views/tests/test_textbooks.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'contentstore.views.tests.test_textbooks') +warn_deprecated_import('contentstore.views.tests.test_textbooks', 'cms.djangoapps.contentstore.views.tests.test_textbooks') from cms.djangoapps.contentstore.views.tests.test_textbooks import * diff --git a/import_shims/studio/contentstore/views/tests/test_transcript_settings.py b/import_shims/studio/contentstore/views/tests/test_transcript_settings.py index f985190ec5..bee4594ce3 100644 --- a/import_shims/studio/contentstore/views/tests/test_transcript_settings.py +++ b/import_shims/studio/contentstore/views/tests/test_transcript_settings.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'contentstore.views.tests.test_transcript_settings') +warn_deprecated_import('contentstore.views.tests.test_transcript_settings', 'cms.djangoapps.contentstore.views.tests.test_transcript_settings') from cms.djangoapps.contentstore.views.tests.test_transcript_settings import * diff --git a/import_shims/studio/contentstore/views/tests/test_transcripts.py b/import_shims/studio/contentstore/views/tests/test_transcripts.py index 2c6a4ae7f7..0590ab160f 100644 --- a/import_shims/studio/contentstore/views/tests/test_transcripts.py +++ b/import_shims/studio/contentstore/views/tests/test_transcripts.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'contentstore.views.tests.test_transcripts') +warn_deprecated_import('contentstore.views.tests.test_transcripts', 'cms.djangoapps.contentstore.views.tests.test_transcripts') from cms.djangoapps.contentstore.views.tests.test_transcripts import * diff --git a/import_shims/studio/contentstore/views/tests/test_unit_page.py b/import_shims/studio/contentstore/views/tests/test_unit_page.py index 11af6c2fe5..b926c27bc3 100644 --- a/import_shims/studio/contentstore/views/tests/test_unit_page.py +++ b/import_shims/studio/contentstore/views/tests/test_unit_page.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'contentstore.views.tests.test_unit_page') +warn_deprecated_import('contentstore.views.tests.test_unit_page', 'cms.djangoapps.contentstore.views.tests.test_unit_page') from cms.djangoapps.contentstore.views.tests.test_unit_page import * diff --git a/import_shims/studio/contentstore/views/tests/test_user.py b/import_shims/studio/contentstore/views/tests/test_user.py index a3b5609ffb..2251876b8e 100644 --- a/import_shims/studio/contentstore/views/tests/test_user.py +++ b/import_shims/studio/contentstore/views/tests/test_user.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'contentstore.views.tests.test_user') +warn_deprecated_import('contentstore.views.tests.test_user', 'cms.djangoapps.contentstore.views.tests.test_user') from cms.djangoapps.contentstore.views.tests.test_user import * diff --git a/import_shims/studio/contentstore/views/tests/test_videos.py b/import_shims/studio/contentstore/views/tests/test_videos.py index 4a64e738c3..45f71c21d6 100644 --- a/import_shims/studio/contentstore/views/tests/test_videos.py +++ b/import_shims/studio/contentstore/views/tests/test_videos.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'contentstore.views.tests.test_videos') +warn_deprecated_import('contentstore.views.tests.test_videos', 'cms.djangoapps.contentstore.views.tests.test_videos') from cms.djangoapps.contentstore.views.tests.test_videos import * diff --git a/import_shims/studio/contentstore/views/tests/utils.py b/import_shims/studio/contentstore/views/tests/utils.py index 2170d0a5f7..f00493dd23 100644 --- a/import_shims/studio/contentstore/views/tests/utils.py +++ b/import_shims/studio/contentstore/views/tests/utils.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'contentstore.views.tests.utils') +warn_deprecated_import('contentstore.views.tests.utils', 'cms.djangoapps.contentstore.views.tests.utils') from cms.djangoapps.contentstore.views.tests.utils import * diff --git a/import_shims/studio/contentstore/views/transcript_settings.py b/import_shims/studio/contentstore/views/transcript_settings.py index 358d7852bc..f8929635d7 100644 --- a/import_shims/studio/contentstore/views/transcript_settings.py +++ b/import_shims/studio/contentstore/views/transcript_settings.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'contentstore.views.transcript_settings') +warn_deprecated_import('contentstore.views.transcript_settings', 'cms.djangoapps.contentstore.views.transcript_settings') from cms.djangoapps.contentstore.views.transcript_settings import * diff --git a/import_shims/studio/contentstore/views/transcripts_ajax.py b/import_shims/studio/contentstore/views/transcripts_ajax.py index a66dcf72e8..ad829e3738 100644 --- a/import_shims/studio/contentstore/views/transcripts_ajax.py +++ b/import_shims/studio/contentstore/views/transcripts_ajax.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'contentstore.views.transcripts_ajax') +warn_deprecated_import('contentstore.views.transcripts_ajax', 'cms.djangoapps.contentstore.views.transcripts_ajax') from cms.djangoapps.contentstore.views.transcripts_ajax import * diff --git a/import_shims/studio/contentstore/views/user.py b/import_shims/studio/contentstore/views/user.py index 5284657469..67991ddfde 100644 --- a/import_shims/studio/contentstore/views/user.py +++ b/import_shims/studio/contentstore/views/user.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'contentstore.views.user') +warn_deprecated_import('contentstore.views.user', 'cms.djangoapps.contentstore.views.user') from cms.djangoapps.contentstore.views.user import * diff --git a/import_shims/studio/contentstore/views/videos.py b/import_shims/studio/contentstore/views/videos.py index c9a70facb9..4fca3c9ecd 100644 --- a/import_shims/studio/contentstore/views/videos.py +++ b/import_shims/studio/contentstore/views/videos.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'contentstore.views.videos') +warn_deprecated_import('contentstore.views.videos', 'cms.djangoapps.contentstore.views.videos') from cms.djangoapps.contentstore.views.videos import * diff --git a/import_shims/studio/course_creators/__init__.py b/import_shims/studio/course_creators/__init__.py index efa33f8166..b26d939567 100644 --- a/import_shims/studio/course_creators/__init__.py +++ b/import_shims/studio/course_creators/__init__.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'course_creators') +warn_deprecated_import('course_creators', 'cms.djangoapps.course_creators') from cms.djangoapps.course_creators import * diff --git a/import_shims/studio/course_creators/admin.py b/import_shims/studio/course_creators/admin.py index a2070a0ea1..17b592293f 100644 --- a/import_shims/studio/course_creators/admin.py +++ b/import_shims/studio/course_creators/admin.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'course_creators.admin') +warn_deprecated_import('course_creators.admin', 'cms.djangoapps.course_creators.admin') from cms.djangoapps.course_creators.admin import * diff --git a/import_shims/studio/course_creators/models.py b/import_shims/studio/course_creators/models.py index 6da0d1e522..f8f61037f4 100644 --- a/import_shims/studio/course_creators/models.py +++ b/import_shims/studio/course_creators/models.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'course_creators.models') +warn_deprecated_import('course_creators.models', 'cms.djangoapps.course_creators.models') from cms.djangoapps.course_creators.models import * diff --git a/import_shims/studio/course_creators/tests/__init__.py b/import_shims/studio/course_creators/tests/__init__.py index 4e4ba40b98..5645620af5 100644 --- a/import_shims/studio/course_creators/tests/__init__.py +++ b/import_shims/studio/course_creators/tests/__init__.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'course_creators.tests') +warn_deprecated_import('course_creators.tests', 'cms.djangoapps.course_creators.tests') from cms.djangoapps.course_creators.tests import * diff --git a/import_shims/studio/course_creators/tests/test_admin.py b/import_shims/studio/course_creators/tests/test_admin.py index 6381a6a73e..e616c691d6 100644 --- a/import_shims/studio/course_creators/tests/test_admin.py +++ b/import_shims/studio/course_creators/tests/test_admin.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'course_creators.tests.test_admin') +warn_deprecated_import('course_creators.tests.test_admin', 'cms.djangoapps.course_creators.tests.test_admin') from cms.djangoapps.course_creators.tests.test_admin import * diff --git a/import_shims/studio/course_creators/tests/test_views.py b/import_shims/studio/course_creators/tests/test_views.py index 922ee43f7f..0502880fa5 100644 --- a/import_shims/studio/course_creators/tests/test_views.py +++ b/import_shims/studio/course_creators/tests/test_views.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'course_creators.tests.test_views') +warn_deprecated_import('course_creators.tests.test_views', 'cms.djangoapps.course_creators.tests.test_views') from cms.djangoapps.course_creators.tests.test_views import * diff --git a/import_shims/studio/course_creators/views.py b/import_shims/studio/course_creators/views.py index 5e6c3e3be1..0337b2d74c 100644 --- a/import_shims/studio/course_creators/views.py +++ b/import_shims/studio/course_creators/views.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'course_creators.views') +warn_deprecated_import('course_creators.views', 'cms.djangoapps.course_creators.views') from cms.djangoapps.course_creators.views import * diff --git a/import_shims/studio/maintenance/__init__.py b/import_shims/studio/maintenance/__init__.py index f440425969..3d1ef635f1 100644 --- a/import_shims/studio/maintenance/__init__.py +++ b/import_shims/studio/maintenance/__init__.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'maintenance') +warn_deprecated_import('maintenance', 'cms.djangoapps.maintenance') from cms.djangoapps.maintenance import * diff --git a/import_shims/studio/maintenance/tests.py b/import_shims/studio/maintenance/tests.py index 8d733cc590..0a6e853807 100644 --- a/import_shims/studio/maintenance/tests.py +++ b/import_shims/studio/maintenance/tests.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'maintenance.tests') +warn_deprecated_import('maintenance.tests', 'cms.djangoapps.maintenance.tests') from cms.djangoapps.maintenance.tests import * diff --git a/import_shims/studio/maintenance/urls.py b/import_shims/studio/maintenance/urls.py index 97a925210e..20098a91d4 100644 --- a/import_shims/studio/maintenance/urls.py +++ b/import_shims/studio/maintenance/urls.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'maintenance.urls') +warn_deprecated_import('maintenance.urls', 'cms.djangoapps.maintenance.urls') from cms.djangoapps.maintenance.urls import * diff --git a/import_shims/studio/maintenance/views.py b/import_shims/studio/maintenance/views.py index dc745f496e..ba1a5e44ba 100644 --- a/import_shims/studio/maintenance/views.py +++ b/import_shims/studio/maintenance/views.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'maintenance.views') +warn_deprecated_import('maintenance.views', 'cms.djangoapps.maintenance.views') from cms.djangoapps.maintenance.views import * diff --git a/import_shims/studio/models/__init__.py b/import_shims/studio/models/__init__.py index 2a594c5da6..de3a20c82d 100644 --- a/import_shims/studio/models/__init__.py +++ b/import_shims/studio/models/__init__.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'models') +warn_deprecated_import('models', 'cms.djangoapps.models') from cms.djangoapps.models import * diff --git a/import_shims/studio/models/settings/__init__.py b/import_shims/studio/models/settings/__init__.py index 951f5ddac9..b882f35cec 100644 --- a/import_shims/studio/models/settings/__init__.py +++ b/import_shims/studio/models/settings/__init__.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'models.settings') +warn_deprecated_import('models.settings', 'cms.djangoapps.models.settings') from cms.djangoapps.models.settings import * diff --git a/import_shims/studio/models/settings/course_grading.py b/import_shims/studio/models/settings/course_grading.py index 045cf55b97..090b2080cd 100644 --- a/import_shims/studio/models/settings/course_grading.py +++ b/import_shims/studio/models/settings/course_grading.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'models.settings.course_grading') +warn_deprecated_import('models.settings.course_grading', 'cms.djangoapps.models.settings.course_grading') from cms.djangoapps.models.settings.course_grading import * diff --git a/import_shims/studio/models/settings/course_metadata.py b/import_shims/studio/models/settings/course_metadata.py index 6e5a528495..20fb1a0254 100644 --- a/import_shims/studio/models/settings/course_metadata.py +++ b/import_shims/studio/models/settings/course_metadata.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'models.settings.course_metadata') +warn_deprecated_import('models.settings.course_metadata', 'cms.djangoapps.models.settings.course_metadata') from cms.djangoapps.models.settings.course_metadata import * diff --git a/import_shims/studio/models/settings/encoder.py b/import_shims/studio/models/settings/encoder.py index 807262a3d7..4662225d8d 100644 --- a/import_shims/studio/models/settings/encoder.py +++ b/import_shims/studio/models/settings/encoder.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'models.settings.encoder') +warn_deprecated_import('models.settings.encoder', 'cms.djangoapps.models.settings.encoder') from cms.djangoapps.models.settings.encoder import * diff --git a/import_shims/studio/models/settings/tests/test_settings.py b/import_shims/studio/models/settings/tests/test_settings.py index aa34a444c1..03cc311ee7 100644 --- a/import_shims/studio/models/settings/tests/test_settings.py +++ b/import_shims/studio/models/settings/tests/test_settings.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'models.settings.tests.test_settings') +warn_deprecated_import('models.settings.tests.test_settings', 'cms.djangoapps.models.settings.tests.test_settings') from cms.djangoapps.models.settings.tests.test_settings import * diff --git a/import_shims/studio/models/settings/waffle.py b/import_shims/studio/models/settings/waffle.py index 6729d04edc..b36c8c10e3 100644 --- a/import_shims/studio/models/settings/waffle.py +++ b/import_shims/studio/models/settings/waffle.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'models.settings.waffle') +warn_deprecated_import('models.settings.waffle', 'cms.djangoapps.models.settings.waffle') from cms.djangoapps.models.settings.waffle import * diff --git a/import_shims/studio/pipeline_js/__init__.py b/import_shims/studio/pipeline_js/__init__.py index 55b3d11f39..056fcaa580 100644 --- a/import_shims/studio/pipeline_js/__init__.py +++ b/import_shims/studio/pipeline_js/__init__.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'pipeline_js') +warn_deprecated_import('pipeline_js', 'cms.djangoapps.pipeline_js') from cms.djangoapps.pipeline_js import * diff --git a/import_shims/studio/pipeline_js/utils.py b/import_shims/studio/pipeline_js/utils.py index e225509172..b64302106c 100644 --- a/import_shims/studio/pipeline_js/utils.py +++ b/import_shims/studio/pipeline_js/utils.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'pipeline_js.utils') +warn_deprecated_import('pipeline_js.utils', 'cms.djangoapps.pipeline_js.utils') from cms.djangoapps.pipeline_js.utils import * diff --git a/import_shims/studio/xblock_config/__init__.py b/import_shims/studio/xblock_config/__init__.py index 7ddbe45834..693a9ba526 100644 --- a/import_shims/studio/xblock_config/__init__.py +++ b/import_shims/studio/xblock_config/__init__.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'xblock_config') +warn_deprecated_import('xblock_config', 'cms.djangoapps.xblock_config') from cms.djangoapps.xblock_config import * diff --git a/import_shims/studio/xblock_config/admin.py b/import_shims/studio/xblock_config/admin.py index 737dda1d56..fe3c34c290 100644 --- a/import_shims/studio/xblock_config/admin.py +++ b/import_shims/studio/xblock_config/admin.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'xblock_config.admin') +warn_deprecated_import('xblock_config.admin', 'cms.djangoapps.xblock_config.admin') from cms.djangoapps.xblock_config.admin import * diff --git a/import_shims/studio/xblock_config/apps.py b/import_shims/studio/xblock_config/apps.py index 94b8846978..363e40e91b 100644 --- a/import_shims/studio/xblock_config/apps.py +++ b/import_shims/studio/xblock_config/apps.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'xblock_config.apps') +warn_deprecated_import('xblock_config.apps', 'cms.djangoapps.xblock_config.apps') from cms.djangoapps.xblock_config.apps import * diff --git a/import_shims/studio/xblock_config/forms.py b/import_shims/studio/xblock_config/forms.py index 22f9962cc1..f5d90414b6 100644 --- a/import_shims/studio/xblock_config/forms.py +++ b/import_shims/studio/xblock_config/forms.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'xblock_config.forms') +warn_deprecated_import('xblock_config.forms', 'cms.djangoapps.xblock_config.forms') from cms.djangoapps.xblock_config.forms import * diff --git a/import_shims/studio/xblock_config/models.py b/import_shims/studio/xblock_config/models.py index a39b37f504..38fe270108 100644 --- a/import_shims/studio/xblock_config/models.py +++ b/import_shims/studio/xblock_config/models.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'xblock_config.models') +warn_deprecated_import('xblock_config.models', 'cms.djangoapps.xblock_config.models') from cms.djangoapps.xblock_config.models import * diff --git a/import_shims/studio/xblock_config/tests/__init__.py b/import_shims/studio/xblock_config/tests/__init__.py index f7aeb3746d..36ef48786c 100644 --- a/import_shims/studio/xblock_config/tests/__init__.py +++ b/import_shims/studio/xblock_config/tests/__init__.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'xblock_config.tests') +warn_deprecated_import('xblock_config.tests', 'cms.djangoapps.xblock_config.tests') from cms.djangoapps.xblock_config.tests import * diff --git a/import_shims/studio/xblock_config/tests/test_models.py b/import_shims/studio/xblock_config/tests/test_models.py index f709528efb..9bb156753e 100644 --- a/import_shims/studio/xblock_config/tests/test_models.py +++ b/import_shims/studio/xblock_config/tests/test_models.py @@ -1,5 +1,5 @@ -from sys_path_hacks.warn import warn_deprecated_import +from import_shims.warn import warn_deprecated_import -warn_deprecated_import('cms.djangoapps', 'xblock_config.tests.test_models') +warn_deprecated_import('xblock_config.tests.test_models', 'cms.djangoapps.xblock_config.tests.test_models') from cms.djangoapps.xblock_config.tests.test_models import *