Commit e26b1be3 by Julian Arni

Remove useless try-except clause

parent 0972f220
......@@ -28,7 +28,6 @@ def import_static_content(modules, course_loc, course_data_path, static_content_
for dirname, _, filenames in os.walk(static_dir):
for filename in filenames:
try:
content_path = os.path.join(dirname, filename)
if verbose:
log.debug('importing static content %s...', content_path)
......@@ -66,8 +65,6 @@ def import_static_content(modules, course_loc, course_data_path, static_content_
#store the remapping information which will be needed to subsitute in the module data
remap_dict[fullname_with_subpath] = content_loc.name
except:
raise
return remap_dict
......
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