Skip to content

Commit

Permalink
fix: linting
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielVZ96 committed Jan 29, 2025
1 parent 5a9b68f commit 0b3b62c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions cms/djangoapps/contentstore/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
"""
Expand All @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion openedx/core/djangoapps/content_staging/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -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__)

Expand Down

0 comments on commit 0b3b62c

Please sign in to comment.