remove redundant backslashes in between brackets

This commit is contained in:
cclauss
2019-01-16 03:46:04 +01:00
parent 8fca11b85c
commit b0c4c0c5f9
2 changed files with 3 additions and 3 deletions

View File

@@ -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

View File

@@ -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)