fix(cgi): remove redundant function

This commit is contained in:
Tiara Rodney 2022-04-15 02:12:35 +02:00
parent c506cec36a
commit 843354e18d
3 changed files with 6 additions and 6 deletions

View file

@ -2,9 +2,9 @@
"""httpaste CGI entrypoint """httpaste CGI entrypoint
""" """
from wsgiref.handlers import CGIHandler from wsgiref.handlers import CGIHandler
from httpaste import load_config, get_flask_app, get_config_path from httpaste import load_config, get_flask_app
config, server_config = load_config(get_config_path()) config, server_config = load_config()
application = get_flask_app(config, server_config) application = get_flask_app(config, server_config)

View file

@ -2,9 +2,9 @@
"""httpaste FastCGI entrypoint """httpaste FastCGI entrypoint
""" """
from flup.server.fcgi import WSGIServer from flup.server.fcgi import WSGIServer
from httpaste import load_config, get_flask_app, get_config_path from httpaste import load_config, get_flask_app
config, server_config = load_config(get_config_path()) config, server_config = load_config()
application = get_flask_app(config, server_config) application = get_flask_app(config, server_config)

View file

@ -1,8 +1,8 @@
#!/usr/bin/env python3 #!/usr/bin/env python3
"""httpaste WSGI entrypoint """httpaste WSGI entrypoint
""" """
from httpaste import load_config, get_flask_app, get_config_path from httpaste import load_config, get_flask_app
config, server_config = load_config(get_config_path()) config, server_config = load_config()
application = get_flask_app(config, server_config) application = get_flask_app(config, server_config)