annotate src/__init__.py @ 2065:f3167c873e7b

quick frontend (contact list): better handling of cache with full jid: - get_cache has a new argument "bare_default" - value of resource is returned if full jid is used. None is returned if not found and bare_default is False, bare jid value is returned if not found and bare_default is True
author Goffi <goffi@goffi.org>
date Fri, 09 Sep 2016 23:54:33 +0200
parents 1128feb54180
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1935
1128feb54180 core: removed pyfeed and xe dependencies:
Goffi <goffi@goffi.org>
parents: 1470
diff changeset
1 from .core.constants import Const as C
1470
8bfbf5cb0e28 core: moved __version__ to __init__.py, so we can check version by doing "import sat;print(sat.__version__)"
Goffi <goffi@goffi.org>
parents: 224
diff changeset
2
8bfbf5cb0e28 core: moved __version__ to __init__.py, so we can check version by doing "import sat;print(sat.__version__)"
Goffi <goffi@goffi.org>
parents: 224
diff changeset
3 __version__ = C.APP_VERSION