https://github.com/web-platform-tests/wpt
Raw File
Tip revision: 588f3143f83a476da6062e4901684064fd073078 authored by James Graham on 10 April 2018, 10:16:46 UTC
Add python handler directory to Python path in wptserve
Tip revision: 588f314
serve.py
import sys
import logging

try:
    from tools.serve import serve
except ImportError:
    logging.error("tools.serve not found.  Did you forget to run "
                  '"git submodule update --init --recursive"?')
    sys.exit(2)

def main():
    serve.main()
back to top