Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
edx-platform-release
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
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
7817c47d
Unverified
Commit
7817c47d
authored
4 years ago
by
Christie Rice
Committed by
GitHub
4 years ago
Browse files
Options
Downloads
Patches
Plain Diff
MICROBA-885 Check whitelisted, even if a grade exists (#26011)
parent
53ccf9bd
No related branches found
Branches containing commit
Tags
release-2020-12-10-12.51
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
lms/djangoapps/certificates/queue.py
+9
-10
9 additions, 10 deletions
lms/djangoapps/certificates/queue.py
with
9 additions
and
10 deletions
lms/djangoapps/certificates/queue.py
+
9
−
10
View file @
7817c47d
...
...
@@ -343,6 +343,7 @@ class XQueueCertInterface(object):
# Strip HTML from grade range label
grade_contents
=
forced_grade
or
course_grade
.
letter_grade
passing
=
False
try
:
grade_contents
=
lxml
.
html
.
fromstring
(
grade_contents
).
text_content
()
passing
=
True
...
...
@@ -361,16 +362,14 @@ class XQueueCertInterface(object):
six
.
text_type
(
exc
)
)
# Log if the student is whitelisted
if
is_whitelisted
:
LOGGER
.
info
(
u
"
Student %s is whitelisted in
'
%s
'"
,
student
.
id
,
six
.
text_type
(
course_id
)
)
passing
=
True
else
:
passing
=
False
# Check if the student is whitelisted
if
is_whitelisted
:
LOGGER
.
info
(
u
"
Student %s is whitelisted in
'
%s
'"
,
student
.
id
,
six
.
text_type
(
course_id
)
)
passing
=
True
# If this user's enrollment is not eligible to receive a
# certificate, mark it as such for reporting and
...
...
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