# HG changeset patch # User Goffi # Date 1439881278 -7200 # Node ID 8bfbf5cb0e28e3feabf78c8b7a04c66924f8bbb9 # Parent b233274e9a0fb8684725fe633f5572b81ba2b8a9 core: moved __version__ to __init__.py, so we can check version by doing "import sat;print(sat.__version__)" diff -r b233274e9a0f -r 8bfbf5cb0e28 src/__init__.py --- a/src/__init__.py Tue Aug 18 09:01:18 2015 +0200 +++ b/src/__init__.py Tue Aug 18 09:01:18 2015 +0200 @@ -0,0 +1,3 @@ +from core.constants import Const as C + +__version__ = C.APP_VERSION diff -r b233274e9a0f -r 8bfbf5cb0e28 src/core/sat_main.py --- a/src/core/sat_main.py Tue Aug 18 09:01:18 2015 +0200 +++ b/src/core/sat_main.py Tue Aug 18 09:01:18 2015 +0200 @@ -48,9 +48,6 @@ from ordereddict import OrderedDict -__version__ = C.APP_VERSION - - class SAT(service.Service): @property