Commit c2c0c3e7 authored by Nicolas Delaby's avatar Nicolas Delaby

Discard blank lines


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk/utils@43975 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent afa88728
......@@ -116,6 +116,8 @@ def application(global_config, **local_config):
handler_dict = {}
handler_mapping_list = mimetype_registry.split("\n")
for line in handler_mapping_list:
if not line:
continue
input_mimetype, output_mimetype, handler = line.strip().split()
if handler not in handler_dict:
import_path = "cloudooo.handler.%s.handler" % handler
......
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