From 8eae0c13b9ef4bd39e7111e8e622d64caa10da94 Mon Sep 17 00:00:00 2001 From: Greg Taylor Date: Sat, 14 Sep 2019 22:42:58 -0700 Subject: [PATCH] Remove py3.6 handler for ModuleImportError We require 3.7+ now, no need. --- evennia/utils/utils.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/evennia/utils/utils.py b/evennia/utils/utils.py index cef71afe05..8608dfe546 100644 --- a/evennia/utils/utils.py +++ b/evennia/utils/utils.py @@ -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__