From 8b6a55e2a85e51b3dfe5e62c465239bd6290c865 Mon Sep 17 00:00:00 2001 From: ichuang Date: Fri, 12 Jul 2013 19:58:16 -0400 Subject: [PATCH] fix pep-8 in export_all_courses --- .../contentstore/management/commands/export_all_courses.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/cms/djangoapps/contentstore/management/commands/export_all_courses.py b/cms/djangoapps/contentstore/management/commands/export_all_courses.py index 3c7c398e94..69cfb298fb 100644 --- a/cms/djangoapps/contentstore/management/commands/export_all_courses.py +++ b/cms/djangoapps/contentstore/management/commands/export_all_courses.py @@ -39,11 +39,9 @@ class Command(BaseCommand): if 1: try: location = CourseDescriptor.id_to_location(course_id) - course_dir = course_id.replace('/','...') + course_dir = course_id.replace('/', '...') export_to_xml(ms, cs, location, root_dir, course_dir, modulestore()) except Exception as err: print "="*30 + "> Oops, failed to export %s" % course_id print "Error:" print err - -