httpony/server.py
def main(argv=sys.argv):
    args = parse(argv)
    """Serve up some ponies."""
    hostname = args.listen
    port = args.port
    print(
        "Making all your dreams for a pony come true on http://{0}:{1}.\n"
        "Press Ctrl+C to quit.\n".format(hostname, port))

    # Hush, werkzeug.
    logging.getLogger('werkzeug').setLevel(logging.CRITICAL)

    plugin_manager.load_installed_plugins()
    app = make_app()
    run_simple(hostname, port, app)
def main(argv=sys.argv):
    args = parse(argv)
    hostname = args.listen
    port = args.port
    print(
        "Making all your dreams for a pony come true on http://{0}:{1}.\n"
        "Press Ctrl+C to quit.\n".format(hostname, port))

    # Hush, werkzeug.
    logging.getLogger('werkzeug').setLevel(logging.CRITICAL)

    plugin_manager.load_installed_plugins()
    app = make_app()
    run_simple(hostname, port, app)
def main ( argv = sys . argv ) : args = parse ( argv ) hostname = args . listen port = args . port print ( "Making all your dreams for a pony come true on http://{0}:{1}.\n" "Press Ctrl+C to quit.\n" . format ( hostname , port ) ) # Hush, werkzeug. logging . getLogger ( 'werkzeug' ) . setLevel ( logging . CRITICAL ) plugin_manager . load_installed_plugins ( ) app = make_app ( ) run_simple ( hostname , port , app )
Serve up some ponies.
Serve up some ponies .