queue: Update comment to be more accurate about import errors.

This commit is contained in:
Alex Vandiver 2020-10-09 13:05:47 -07:00
parent 2d71ca1fb8
commit a1ce1aca3b
1 changed files with 1 additions and 1 deletions

View File

@ -381,7 +381,7 @@ def queue_json_publish(
elif processor:
processor(event)
else:
# Must be imported here: A top section import leads to obscure not-defined-ish errors.
# Must be imported here: A top section import leads to circular imports
from zerver.worker.queue_processors import get_worker
get_worker(queue_name).consume_wrapper(event)