File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change 1- """Shared utilities for pointer tag handling across XBlocks.
2-
3- This module centralizes detection, path computation, and attribute application
1+ """This module centralizes detection, path computation, and attribute application
42for OLX "pointer" tags used by XBlocks during import/export.
53Also provides helpers to load definition XML files referenced by pointer tags.
64
@@ -133,10 +131,10 @@ def own_metadata(block):
133131
134132
135133def apply_pointer_attributes (node , block ) -> None :
136- """Apply required pointer attributes to the export node for a block.
134+ """Apply required pointer attributes to the relevant node for a block.
137135
138- Sets "url_name" for all blocks. For course blocks, also sets "org" and
139- "course" attributes.
136+ Sets "url_name" for all blocks. For course blocks, additionally assigns
137+ "org" and " course" attributes.
140138 """
141139 if not node .get ("url_name" ):
142140 node .set ("url_name" , block .url_name )
You can’t perform that action at this time.
0 commit comments