Skip to content

Commit 5099a35

Browse files
committed
docs: Update a few more sneaky references to 'LC'
1 parent 54e2eae commit 5099a35

4 files changed

Lines changed: 7 additions & 7 deletions

File tree

cms/djangoapps/modulestore_migrator/data.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ class ModulestoreBlockMigrationResult:
116116
@dataclass(frozen=True)
117117
class ModulestoreBlockMigrationSuccess(ModulestoreBlockMigrationResult):
118118
"""
119-
Info on a modulestore block which has been successfully migrated into an LC entity
119+
Info on a modulestore block which has been successfully migrated to an openedx_content entity
120120
"""
121121
target_entity_pk: int
122122
target_key: LibraryUsageLocatorV2 | LibraryContainerLocator
@@ -128,7 +128,7 @@ class ModulestoreBlockMigrationSuccess(ModulestoreBlockMigrationResult):
128128
@dataclass(frozen=True)
129129
class ModulestoreBlockMigrationFailure(ModulestoreBlockMigrationResult):
130130
"""
131-
Info on a modulestore block which failed to be migrated into LC
131+
Info on a modulestore block which failed to be migrated into openedx_content
132132
"""
133133
unsupported_reason: str
134134
is_failed: t.ClassVar[bool] = True

cms/lib/xblock/upstream_sync.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ def get_for_block(cls, downstream: XBlock) -> t.Self:
245245
Get info on a downstream block's relationship with its linked upstream
246246
content (without actually loading the content).
247247
248-
Currently, the only supported upstreams are LC-backed Library Components
248+
Currently, the only supported upstreams are openedx_content-backed Components
249249
(XBlocks) or Containers. This may change in the future (see module
250250
docstring).
251251

cms/lib/xblock/upstream_sync_block.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,8 @@ def _load_upstream_block(downstream: XBlock, user: User) -> XBlock:
9090
"""
9191
Load the upstream metadata and content for a downstream block.
9292
93-
Assumes that the upstream content is an XBlock in an LC-backed content libraries. This assumption may need to be
94-
relaxed in the future (see module docstring).
93+
Assumes that the upstream content is an XBlock in an openedx_content-backed
94+
library. This assumption may need to be relaxed in the future (see module docstring).
9595
9696
If `downstream` lacks a valid+supported upstream link, this raises an UpstreamLinkException.
9797
"""

openedx/core/djangoapps/content_libraries/tests/test_runtime.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ def test_html_round_trip(self):
116116
f'<html url_name="roundtrip" display_name="Round Trip Test HTML Block"><![CDATA[{block_content}]]></html>\n'
117117
)
118118

119-
# Save the block to LC, and re-load it.
119+
# Save the block to openedx_content, and re-load it.
120120
library_api.set_library_block_olx(usage_key, olx_1)
121121
library_api.publish_changes(self.library.key)
122122
block_saved_1 = xblock_api.load_block(usage_key, self.staff_user)
@@ -131,7 +131,7 @@ def test_html_round_trip(self):
131131
).olx_str
132132
assert olx_2 == canonical_olx
133133

134-
# Now, save that OLX back to LC, and re-load it again.
134+
# Now, save that OLX back to openedx_content, and re-load it again.
135135
library_api.set_library_block_olx(usage_key, olx_2)
136136
library_api.publish_changes(self.library.key)
137137
block_saved_2 = xblock_api.load_block(usage_key, self.staff_user)

0 commit comments

Comments
 (0)