handler/ooo: add `long` in processed types
without this patch there was folowing exception:
2016-04-04 21:47:12 - Cloudooo - DEBUG - Process Started openoffice, Port 8062. Pid 3000 2016-04-04 21:47:12 - Cloudooo - DEBUG - Start MonitorRequest Traceback (most recent call last): File "/home/erp5demo/erp5-buildout/bin/paster", line 137, in <module> sys.exit(paste.script.command.run()) File "/usr/lib64/python2.7/site-packages/paste/script/command.py", line 104, in run invoke(command, command_name, options, args[1:]) File "/usr/lib64/python2.7/site-packages/paste/script/command.py", line 143, in invoke exit_code = runner.run(args) File "/usr/lib64/python2.7/site-packages/paste/script/command.py", line 238, in run result = self.command() File "/usr/lib64/python2.7/site-packages/paste/script/serve.py", line 284, in command relative_to=base, global_conf=vars) File "/usr/lib64/python2.7/site-packages/paste/script/serve.py", line 321, in loadapp **kw) File "/usr/lib64/python2.7/site-packages/paste/deploy/loadwsgi.py", line 247, in loadapp return loadobj(APP, uri, name=name, **kw) File "/usr/lib64/python2.7/site-packages/paste/deploy/loadwsgi.py", line 272, in loadobj return context.create() File "/usr/lib64/python2.7/site-packages/paste/deploy/loadwsgi.py", line 710, in create return self.object_type.invoke(self) File "/usr/lib64/python2.7/site-packages/paste/deploy/loadwsgi.py", line 146, in invoke return fix_call(context.object, context.global_conf, **context.local_conf) File "/usr/lib64/python2.7/site-packages/paste/deploy/util.py", line 59, in fix_call reraise(*exc_info) File "/usr/lib64/python2.7/site-packages/paste/deploy/compat.py", line 22, in reraise exec('raise t, e, tb', dict(t=t, e=e, tb=tb)) File "/usr/lib64/python2.7/site-packages/paste/deploy/util.py", line 56, in fix_call val = callable(*args, **kw) File "/home/erp5demo/erp5-buildout/src/cloudooo/cloudooo/paster_application.py", line 105, in application getattr(module, 'bootstrapHandler', lambda x: None)(local_config) File "/home/erp5demo/erp5-buildout/src/cloudooo/cloudooo/handler/ooo/handler.py", line 259, in bootstrapHandler openoffice_port, **kw) File "/home/erp5demo/erp5-buildout/src/cloudooo/cloudooo/handler/ooo/mimemapper.py", line 160, in loadFilterList if flag & 0x08 or flag & 0x1000 or flag & 0x2000: TypeError: unsupported operand type(s) for &: 'NoneType' and 'int'
/cc @rafael @gabriel @kazuhiko