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
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
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
7089a3fb
Commit
7089a3fb
authored
3 years ago
by
Matt Hughes
Committed by
Matt Hughes
3 years ago
Browse files
Options
Downloads
Patches
Plain Diff
build: man. comm. fails more loudly when nothing to do
JIRA:EDUCATOR-5112
parent
035dfd85
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
cms/djangoapps/contentstore/management/commands/sync_courses.py
+2
-0
2 additions, 0 deletions
...angoapps/contentstore/management/commands/sync_courses.py
with
2 additions
and
0 deletions
cms/djangoapps/contentstore/management/commands/sync_courses.py
+
2
−
0
View file @
7089a3fb
...
...
@@ -44,6 +44,8 @@ class Command(BaseCommand):
instructor
=
self
.
get_user
(
options
[
'
instructor
'
])
course_runs
=
get_course_runs
()
if
len
(
course_runs
)
==
0
:
raise
CommandError
(
'
No course runs to synchronize
'
)
for
course_run
in
course_runs
:
course_key
=
CourseKey
.
from_string
(
course_run
.
get
(
'
key
'
))
fields
=
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
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