示例#1
0
def reporter(request, env):
    from lektor.reporter import BufferReporter

    reporter = BufferReporter(env)
    reporter.push()
    request.addfinalizer(reporter.pop)
    return reporter
示例#2
0
文件: conftest.py 项目: item4/lektor
def reporter(request, env):
    from lektor.reporter import BufferReporter

    reporter = BufferReporter(env)
    reporter.push()
    request.addfinalizer(reporter.pop)
    return reporter
示例#3
0
def reporter(request, env):
    reporter = BufferReporter(env)
    reporter.push()
    request.addfinalizer(reporter.pop)
    return reporter