projects
/
mudpy.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Always use ModuleNotFoundError
[mudpy.git]
/
mudpy
/
version.py
diff --git
a/mudpy/version.py
b/mudpy/version.py
index
afe66eb
..
d99617e
100644
(file)
--- a/
mudpy/version.py
+++ b/
mudpy/version.py
@@
-8,9
+8,6
@@
import json
import sys
import sys
-# TODO(fungi) Clean up once Python 3.6 is the oldest interpreter supported
-if not hasattr(__builtins__, 'ModuleNotFoundError'):
- ModuleNotFoundError = ImportError
# TODO(fungi) Clean up once Python 3.8 is the oldest interpreter supported
try:
import importlib.metadata
# TODO(fungi) Clean up once Python 3.8 is the oldest interpreter supported
try:
import importlib.metadata