Mercurial > libervia-backend
comparison sat/__init__.py @ 2624:56f94936df1e
code style reformatting using black
author | Goffi <goffi@goffi.org> |
---|---|
date | Wed, 27 Jun 2018 20:14:46 +0200 |
parents | 4c086cf7af66 |
children | 20bf6887d1ed |
comparison
equal
deleted
inserted
replaced
2623:49533de4540b | 2624:56f94936df1e |
---|---|
16 | 16 |
17 # You should have received a copy of the GNU Affero General Public License | 17 # You should have received a copy of the GNU Affero General Public License |
18 # along with this program. If not, see <http://www.gnu.org/licenses/>. | 18 # along with this program. If not, see <http://www.gnu.org/licenses/>. |
19 import os.path | 19 import os.path |
20 | 20 |
21 version_file = os.path.join(os.path.dirname(__file__), 'VERSION') | 21 version_file = os.path.join(os.path.dirname(__file__), "VERSION") |
22 try: | 22 try: |
23 with open(version_file) as f: | 23 with open(version_file) as f: |
24 __version__ = f.read().strip() | 24 __version__ = f.read().strip() |
25 except NotImplementedError: | 25 except NotImplementedError: |
26 # pyjamas workaround | 26 # pyjamas workaround |
27 __version__ = '0.7D' | 27 __version__ = "0.7D" |