Commit 6ad235f5 by Carlos Andrés Rocha

Ignore errors during cleanup of course export command.

parent 9f3b9c7b
......@@ -72,7 +72,7 @@ def export_course_to_tarfile(course_key, filename):
course_dir = export_course_to_directory(course_key, tmp_dir)
compress_directory(course_dir, filename)
finally:
shutil.rmtree(tmp_dir)
shutil.rmtree(tmp_dir, ignore_errors=True)
def export_course_to_directory(course_key, root_dir):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment