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
aeca12ba
Commit
aeca12ba
authored
6 years ago
by
rabiaiftikhar
Browse files
Options
Downloads
Patches
Plain Diff
EDUCATOR-3668 remove temporary logs
parent
98719233
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
lms/djangoapps/grades/course_grade_factory.py
+0
-8
0 additions, 8 deletions
lms/djangoapps/grades/course_grade_factory.py
lms/djangoapps/grades/tasks.py
+0
-4
0 additions, 4 deletions
lms/djangoapps/grades/tasks.py
with
0 additions
and
12 deletions
lms/djangoapps/grades/course_grade_factory.py
+
0
−
8
View file @
aeca12ba
...
...
@@ -101,14 +101,6 @@ class CourseGradeFactory(object):
course_data
=
CourseData
(
user
=
None
,
course
=
course
,
collected_block_structure
=
collected_block_structure
,
course_key
=
course_key
,
)
# adding temporary log to investigate EDUCATOR-3668
log
.
info
(
"
EDUCATOR-3668-lms.grades.CourseGradeFactory.iter: using course_version: {course_version}
"
"
and course_key: {course_key}
"
.
format
(
course_version
=
course_data
.
version
,
course_key
=
course_data
.
course_key
)
)
stats_tags
=
[
u
'
action:{}
'
.
format
(
course_data
.
course_key
)]
for
user
in
users
:
with
dog_stats_api
.
timer
(
'
lms.grades.CourseGradeFactory.iter
'
,
tags
=
stats_tags
):
...
...
This diff is collapsed.
Click to expand it.
lms/djangoapps/grades/tasks.py
+
0
−
4
View file @
aeca12ba
...
...
@@ -63,10 +63,6 @@ def compute_all_grades_for_course(**kwargs):
if
are_grades_frozen
(
course_key
):
log
.
info
(
"
Attempted compute_all_grades_for_course for course
'
%s
'
, but grades are frozen.
"
,
course_key
)
return
# adding temporary log to investigate EDUCATOR-3668
log
.
info
(
"
EDUCATOR-3668-Computing grades for all students in course: {course_key}
"
.
format
(
course_key
=
course_key
))
for
course_key_string
,
offset
,
batch_size
in
_course_task_args
(
course_key
=
course_key
,
**
kwargs
):
kwargs
.
update
({
'
course_key
'
:
course_key_string
,
...
...
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