Skip to content

Commit 881292f

Browse files
committed
fix: missing import and lint
1 parent 43fb533 commit 881292f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

openedx/core/djangoapps/content_libraries/signal_handlers.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222
from lms.djangoapps.grades.api import signals as grades_signals
2323

24-
from .api import library_collection_locator, library_component_usage_key
24+
from .api import library_collection_locator, library_component_usage_key, library_container_locator
2525
from .models import ContentLibrary, LtiGradedResource
2626

2727
log = logging.getLogger(__name__)
@@ -205,7 +205,8 @@ def library_collection_entities_changed(sender, instance, action, pk_set, **kwar
205205

206206
# When action=="post_clear", pk_set==None
207207
# Since the collection instance now has an empty entities set,
208-
# we don't know which ones were removed, so we need to update associations for all library components and containers.
208+
# we don't know which ones were removed, so we need to update associations for all library
209+
# components and containers.
209210
components = get_components(instance.learning_package_id)
210211
containers = get_containers(instance.learning_package_id)
211212
if pk_set:

0 commit comments

Comments
 (0)