Skip to content
Snippets Groups Projects
Unverified Commit 8997ba5f authored by Awais Qureshi's avatar Awais Qureshi Committed by GitHub
Browse files

Merge pull request #21685 from edx/awais786/BOM-422

BOM-422
parents 269180d2 a4428d75
No related merge requests found
......@@ -107,7 +107,9 @@ class Command(BaseCommand):
# and consumed one at a time.
for task_arg_tuple in tasks._course_task_args(course_key, **options):
all_args.append(task_arg_tuple)
all_args.sort(key=lambda x: hashlib.md5(b'{!r}'.format(x)))
all_args.sort(key=lambda x: hashlib.md5('{!r}'.format(x).encode('utf-8')).digest())
for args in all_args:
yield {
'course_key': args[0],
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment