changeset 1439:ac2374c92294

remove old pyjamas workaround
author Goffi <goffi@goffi.org>
date Fri, 18 Jun 2021 15:27:56 +0200
parents 433c02214e6d
children 939b5c643f3d
files libervia/__init__.py
diffstat 1 files changed, 2 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/libervia/__init__.py	Wed Jun 16 17:18:59 2021 +0000
+++ b/libervia/__init__.py	Fri Jun 18 15:27:56 2021 +0200
@@ -1,9 +1,5 @@
 import os.path
 
 version_file = os.path.join(os.path.dirname(__file__), "VERSION")
-try:
-    with open(version_file) as f:
-        __version__ = f.read().strip()
-except NotImplementedError:
-    # pyjamas workaround
-    __version__ = "0.7.0D"
+with open(version_file) as f:
+    __version__ = f.read().strip()