remove redundant backslashes in between brackets
This commit is contained in:
@@ -55,7 +55,7 @@ class Command(BaseCommand):
|
||||
raise CommandError("No audit_cohort_names set for MigrateVerifiedTrackCohortsSetting with ID: '%s'"
|
||||
% verified_track_cohorts_setting.id)
|
||||
|
||||
print("Running for MigrateVerifiedTrackCohortsSetting with old_course_key='%s' and rerun_course_key='%s'" % \
|
||||
print("Running for MigrateVerifiedTrackCohortsSetting with old_course_key='%s' and rerun_course_key='%s'" %
|
||||
(verified_track_cohorts_setting.old_course_key, verified_track_cohorts_setting.rerun_course_key))
|
||||
|
||||
# Get the CourseUserGroup IDs for the audit course names from the old course
|
||||
|
||||
@@ -167,7 +167,7 @@ def _get_block_types_from_json_file(xblock_json_file):
|
||||
try:
|
||||
json_data = json.loads(json_file.read())
|
||||
except ValueError as e:
|
||||
print('xBlock configuration file does not match the expected layout and is ' \
|
||||
print('xBlock configuration file does not match the expected layout and is '
|
||||
'missing "data" list: %s' % xblock_json_file)
|
||||
sys.exit(text_type(e))
|
||||
if 'data' in json_data:
|
||||
@@ -176,7 +176,7 @@ def _get_block_types_from_json_file(xblock_json_file):
|
||||
type_set.add(xblock['name'])
|
||||
return type_set
|
||||
else:
|
||||
print('xBlock configuration file does not match the expected layout and is ' \
|
||||
print('xBlock configuration file does not match the expected layout and is '
|
||||
'missing "data" list: %s' % xblock_json_file)
|
||||
sys.exit(2)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user