Mercurial > libervia-web
diff twisted/plugins/libervia_server.py @ 1365:10517a8698ca
server: removed unused legacy code.
author | Goffi <goffi@goffi.org> |
---|---|
date | Fri, 20 Nov 2020 17:53:38 +0100 |
parents | df40708c4c76 |
children | f61e95438050 |
line wrap: on
line diff
--- a/twisted/plugins/libervia_server.py Fri Nov 20 17:53:01 2020 +0100 +++ b/twisted/plugins/libervia_server.py Fri Nov 20 17:53:38 2020 +0100 @@ -157,14 +157,6 @@ from sat.core import log_config log_config.satConfigure(C.LOG_BACKEND_TWISTED, C, backend_data=options) - from libervia.server import server - - # we can't import this file from libervia.server.server because it's not a true module - # (there is no __init__.py file, as required by twistd plugin system), so we set the - # global values from here - server.DATA_DIR_DEFAULT = DATA_DIR_DEFAULT - server.OPT_PARAMETERS_BOTH = OPT_PARAMETERS_BOTH - server.OPT_PARAMETERS_CFG = OPT_PARAMETERS_CFG class Options(usage.Options):