# Copyright 2014-2021 The Salish Sea MEOPAR Contributors
# and The University of British Columbia

# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at

#    https://www.apache.org/licenses/LICENSE-2.0

# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
"""midoss-app-dev About views
"""
import logging
from pathlib import Path

from pyramid.view import view_config

logger = logging.getLogger(__name__)

@view_config(route_name="about.project", renderer="about/project.mako")
def project(request):
    return {}


@view_config(route_name="about.contributors", renderer="about/contributors.mako")
def contributors(request):
    return {}


@view_config(route_name="about.partners", renderer="about/partners.mako")
def partners(request):
    return {}


@view_config(route_name="about.license", renderer="about/license.mako")
def license(request):
    with Path(request.registry.settings["license_file"]).open("rt") as f:
        return {"license": f.read()}

7a9fb81300288fbe0ed2f39134cf0c6349978fd2
<mask token>


@view_config(route_name='about.project', renderer='about/project.mako')
def project(request):
    return {}


@view_config(route_name='about.contributors', renderer=
    'about/contributors.mako')
def contributors(request):
    return {}


<mask token>


@view_config(route_name='about.license', renderer='about/license.mako')
def license(request):
    with Path(request.registry.settings['license_file']).open('rt') as f:
        return {'license': f.read()}

<mask token>


@view_config(route_name='about.project', renderer='about/project.mako')
def project(request):
    return {}


@view_config(route_name='about.contributors', renderer=
    'about/contributors.mako')
def contributors(request):
    return {}


@view_config(route_name='about.partners', renderer='about/partners.mako')
def partners(request):
    return {}


@view_config(route_name='about.license', renderer='about/license.mako')
def license(request):
    with Path(request.registry.settings['license_file']).open('rt') as f:
        return {'license': f.read()}

<mask token>
logger = logging.getLogger(__name__)


@view_config(route_name='about.project', renderer='about/project.mako')
def project(request):
    return {}


@view_config(route_name='about.contributors', renderer=
    'about/contributors.mako')
def contributors(request):
    return {}


@view_config(route_name='about.partners', renderer='about/partners.mako')
def partners(request):
    return {}


@view_config(route_name='about.license', renderer='about/license.mako')
def license(request):
    with Path(request.registry.settings['license_file']).open('rt') as f:
        return {'license': f.read()}

<mask token>
import logging
from pathlib import Path
from pyramid.view import view_config
logger = logging.getLogger(__name__)


@view_config(route_name='about.project', renderer='about/project.mako')
def project(request):
    return {}


@view_config(route_name='about.contributors', renderer=
    'about/contributors.mako')
def contributors(request):
    return {}


@view_config(route_name='about.partners', renderer='about/partners.mako')
def partners(request):
    return {}


@view_config(route_name='about.license', renderer='about/license.mako')
def license(request):
    with Path(request.registry.settings['license_file']).open('rt') as f:
        return {'license': f.read()}

# Copyright 2014-2021 The Salish Sea MEOPAR Contributors
# and The University of British Columbia

# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at

#    https://www.apache.org/licenses/LICENSE-2.0

# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
"""midoss-app-dev About views
"""
import logging
from pathlib import Path

from pyramid.view import view_config

logger = logging.getLogger(__name__)

@view_config(route_name="about.project", renderer="about/project.mako")
def project(request):
    return {}


@view_config(route_name="about.contributors", renderer="about/contributors.mako")
def contributors(request):
    return {}


@view_config(route_name="about.partners", renderer="about/partners.mako")
def partners(request):
    return {}


@view_config(route_name="about.license", renderer="about/license.mako")
def license(request):
    with Path(request.registry.settings["license_file"]).open("rt") as f:
        return {"license": f.read()}
