diff options
author | drebs <drebs@leap.se> | 2017-06-18 16:20:39 -0300 |
---|---|---|
committer | Kali Kaneko <kali@leap.se> | 2017-06-24 00:53:41 +0200 |
commit | fe3c1027e716e4302fa2df6a97554a1994f9a447 (patch) | |
tree | e1f61c4ec01e6077b84f063f23a2399859402a0f /src/leap/soledad/server | |
parent | 8ebaab3356bf96e20af269fa4f5f53654e110cee (diff) |
[bug] fix package __version__ attribute
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'] |