mirror of
https://github.com/evennia/evennia.git
synced 2026-03-23 16:26:30 +01:00
Remove py3.6 handler for ModuleImportError
We require 3.7+ now, no need.
This commit is contained in:
parent
c62cc1f530
commit
8eae0c13b9
1 changed files with 0 additions and 8 deletions
|
|
@ -33,14 +33,6 @@ from evennia.utils import logger
|
|||
_MULTIMATCH_TEMPLATE = settings.SEARCH_MULTIMATCH_TEMPLATE
|
||||
_EVENNIA_DIR = settings.EVENNIA_DIR
|
||||
_GAME_DIR = settings.GAME_DIR
|
||||
|
||||
|
||||
# ModuleNotFoundError only in py3.6, handle both
|
||||
try:
|
||||
from builtins import ModuleNotFoundError
|
||||
except ImportError:
|
||||
ModuleNotFoundError = ImportError
|
||||
|
||||
ENCODINGS = settings.ENCODINGS
|
||||
_GA = object.__getattribute__
|
||||
_SA = object.__setattr__
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue