swh:1:snp:b37d435721bbd450624165f334724e3585346499
Raw File
Tip revision: 41f3538c0d392a6e2f5ca962527ec9fbcf4100fc authored by Philip Jägenstedt on 04 April 2018, 15:24:36 UTC
Simplify assert_throws in two places where error messages were passed
Tip revision: 41f3538
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