Commit eccf800f by Calen Pennington

Ignore files that don't exist when we try and delete them while compiling xmodule assets

parent fd4d8168
......@@ -129,7 +129,7 @@ def _write_js(output_root, classes):
def _write_files(output_root, contents):
_ensure_dir(output_root)
for extra_file in set(output_root.files()) - set(contents.keys()):
extra_file.remove()
extra_file.remove_p()
for filename, file_content in contents.iteritems():
(output_root / filename).write_bytes(file_content)
......
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