Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
edx-platform-release
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
1
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Hsin-Yu Chien
edx-platform-release
Commits
8997ba5f
Unverified
Commit
8997ba5f
authored
5 years ago
by
Awais Qureshi
Committed by
GitHub
5 years ago
Browse files
Options
Downloads
Plain Diff
Merge pull request #21685 from edx/awais786/BOM-422
BOM-422
parents
269180d2
a4428d75
Loading
Loading
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
lms/djangoapps/grades/management/commands/compute_grades.py
+3
-1
3 additions, 1 deletion
lms/djangoapps/grades/management/commands/compute_grades.py
with
3 additions
and
1 deletion
lms/djangoapps/grades/management/commands/compute_grades.py
+
3
−
1
View file @
8997ba5f
...
...
@@ -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
],
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment