diff options
Diffstat (limited to 'src/leap/soledad/server')
-rw-r--r-- | src/leap/soledad/server/__init__.py | 6 | ||||
-rw-r--r-- | src/leap/soledad/server/_server_info.py | 2 |
2 files changed, 1 insertions, 7 deletions
diff --git a/src/leap/soledad/server/__init__.py b/src/leap/soledad/server/__init__.py index a4080f13..2023ef5e 100644 --- a/src/leap/soledad/server/__init__.py +++ b/src/leap/soledad/server/__init__.py @@ -31,14 +31,12 @@ from .sync import SyncResource from .sync import MAX_REQUEST_SIZE from .sync import MAX_ENTRY_SIZE -from ._version import get_versions from ._config import get_config __all__ = [ 'SoledadApp', 'get_config', - '__version__', ] @@ -186,7 +184,3 @@ class HTTPInvocationByMethodWithBody( # monkey patch server with new http invocation http_app.HTTPInvocationByMethodWithBody = HTTPInvocationByMethodWithBody - - -__version__ = get_versions()['version'] -del get_versions diff --git a/src/leap/soledad/server/_server_info.py b/src/leap/soledad/server/_server_info.py index 50659338..a6cf403f 100644 --- a/src/leap/soledad/server/_server_info.py +++ b/src/leap/soledad/server/_server_info.py @@ -21,7 +21,7 @@ import json from twisted.web.resource import Resource -from leap.soledad.server import __version__ +from leap.soledad import __version__ __all__ = ['ServerInfo'] |