We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3b50dbb commit ec83b2aCopy full SHA for ec83b2a
1 file changed
openedx/core/djangoapps/content/course_overviews/management/commands/simulate_publish.py
@@ -313,15 +313,15 @@ def get_receiver_names():
313
"""Return an unordered set of receiver names (full.module.path.function)"""
314
return {
315
name_from_fn(fn_ref())
316
- for _, fn_ref in Command.course_published_signal.receivers
+ for _, fn_ref, *_ in Command.course_published_signal.receivers
317
}
318
319
320
def get_receiver_fns():
321
"""Return the list of active receiver functions."""
322
return [
323
fn_ref() # fn_ref is a weakref to a function, fn_ref() gives us the function
324
325
]
326
327
0 commit comments