Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/bazarr/blame/commit/b9b8e04e873bb569b21139904abc2162531dd18b/libs/stevedore/example/simple.py You should set ROOT_URL correctly, otherwise the web may not work correctly.
bazarr/libs/stevedore/example/simple.py

21 lines
526 B

from stevedore.example import base
class Simple(base.FormatterBase):
"""A very basic formatter.
"""
def format(self, data):
"""Format the data and return unicode text.
:param data: A dictionary with string keys and simple types as
values.
:type data: dict(str:?)
"""
for name, value in sorted(data.items()):
line = '{name} = {value}\n'.format(
name=name,
value=value,
)
yield line