diff --git a/pywps/app/Service.py b/pywps/app/Service.py index c340f936e..c786c6f9c 100644 --- a/pywps/app/Service.py +++ b/pywps/app/Service.py @@ -48,7 +48,7 @@ def __init__(self, processes=[], cfgfiles=None): if config.get_config_value('logging', 'file') and config.get_config_value('logging', 'level'): LOGGER.setLevel(getattr(logging, config.get_config_value('logging', 'level'))) - msg_fmt = '%(asctime)s] [%(levelname)s] file=%(pathname)s line=%(lineno)s module=%(module)s function=%(funcName)s %(message)s' + msg_fmt = '%(asctime)s] [%(levelname)s] file=%(pathname)s line=%(lineno)s module=%(module)s function=%(funcName)s %(message)s' # noqa fh = logging.FileHandler(config.get_config_value('logging', 'file')) fh.setFormatter(logging.Formatter(msg_fmt)) LOGGER.addHandler(fh) @@ -326,9 +326,9 @@ def _parse_and_execute(self, process, wps_request, uuid): raise MissingParameterValue( inpt.identifier, inpt.identifier) else: - #inputs = deque(maxlen=inpt.max_occurs) - #inputs.append(inpt.clone()) - #data_inputs[inpt.identifier] = inputs + # inputs = deque(maxlen=inpt.max_occurs) + # inputs.append(inpt.clone()) + # data_inputs[inpt.identifier] = inputs pass else: # Replace the dicts with the dict of Literal/Complex inputs diff --git a/pywps/inout/formats/__init__.py b/pywps/inout/formats/__init__.py index 54d4ac5e9..ab5fe2a41 100644 --- a/pywps/inout/formats/__init__.py +++ b/pywps/inout/formats/__init__.py @@ -44,8 +44,8 @@ _FORMAT('application/x-ogc-wms; version=1.3.0', '.xml', None), _FORMAT('application/x-ogc-wms; version=1.1.0', '.xml', None), _FORMAT('application/x-ogc-wms; version=1.0.0', '.xml', None), - _FORMAT('text/plain', '.txt', None), - _FORMAT('application/x-netcdf', '.nc', None), + _FORMAT('text/plain', '.txt', None), + _FORMAT('application/x-netcdf', '.nc', None), ) diff --git a/pywps/inout/outputs.py b/pywps/inout/outputs.py index 75d3d3043..3ae9548bc 100644 --- a/pywps/inout/outputs.py +++ b/pywps/inout/outputs.py @@ -102,7 +102,7 @@ class ComplexOutput(basic.ComplexOutput): should be :class:`pywps.app.Common.Metadata` objects. """ - def __init__(self, identifier, title, supported_formats=None, + def __init__(self, identifier, title, supported_formats=None, abstract='', metadata=None, as_reference=False, mode=MODE.NONE): if metadata is None: