Skip to content

Commit

Permalink
feat: remove unused lines
Browse files Browse the repository at this point in the history
  • Loading branch information
rayzhou-bit committed Jan 3, 2024
1 parent 3f6cb64 commit 1e18872
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -834,7 +834,6 @@ def get_block_info(
xblock,
rewrite_static_links=True,
include_ancestor_info=False,
include_child_info=False,
include_publishing_info=False,
include_children_predicate=NEVER,
):
Expand All @@ -843,7 +842,6 @@ def get_block_info(
:param usage_key: A UsageKey
"""
with modulestore().bulk_operations(xblock.location.course_key):
category = getattr(xblock, "category", "")
data = getattr(xblock, "data", "")
if rewrite_static_links:
data = replace_static_urls(data, None, course_id=xblock.location.course_key)
Expand Down

0 comments on commit 1e18872

Please sign in to comment.