diff --git a/cms/djangoapps/contentstore/helpers.py b/cms/djangoapps/contentstore/helpers.py index 31d5a17d0708..8e78a6b93c28 100644 --- a/cms/djangoapps/contentstore/helpers.py +++ b/cms/djangoapps/contentstore/helpers.py @@ -262,7 +262,9 @@ class StaticFileNotices: error_files: list[str] = Factory(list) -def _insert_static_files_into_downstream_xblock(downstream_xblock: XBlock, staged_content_id: int, request) -> StaticFileNotices: +def _insert_static_files_into_downstream_xblock( + downstream_xblock: XBlock, staged_content_id: int, request +) -> StaticFileNotices: """ Gets static files from staged content, and inserts them into the downstream XBlock. """ @@ -274,7 +276,6 @@ def _insert_static_files_into_downstream_xblock(downstream_xblock: XBlock, stage usage_key=downstream_xblock.scope_ids.usage_id, ) - # Rewrite the OLX's static asset references to point to the new # locations for those assets. See _import_files_into_course for more # info on why this is necessary. diff --git a/openedx/core/djangoapps/content_staging/models.py b/openedx/core/djangoapps/content_staging/models.py index 307957cc213e..5e007bc4485a 100644 --- a/openedx/core/djangoapps/content_staging/models.py +++ b/openedx/core/djangoapps/content_staging/models.py @@ -14,7 +14,7 @@ from openedx.core.djangoapps.content.course_overviews.api import get_course_overview_or_none -from .data import CLIPBOARD_PURPOSE, LIBRARY_SYNC_PURPOSE, StagedContentStatus +from .data import CLIPBOARD_PURPOSE, StagedContentStatus log = logging.getLogger(__name__)