Skip to content

Commit 06c5359

Browse files
get rid of python < 3.8 import shenanigans
1 parent fd42105 commit 06c5359

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

mauth_client/__init__.py

+1-5
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
11
# Load the version from the project metatdata
2-
try:
3-
import importlib.metadata as importlib_metadata
4-
except ModuleNotFoundError:
5-
# needed for Python < 3.8
6-
import importlib_metadata
2+
import importlib.metadata as importlib_metadata
73

84
__version__ = importlib_metadata.version(__name__)

0 commit comments

Comments
 (0)