From 17d8b33b4cde384e1f7f88b54e17b8d2ae238dc1 Mon Sep 17 00:00:00 2001 From: Toshio Kuratomi Date: Sun, 12 Jun 2022 19:23:55 -0700 Subject: [PATCH] Remove the import of imp.find_module. Usage of find_module has been replaced by importlib. The imp module is going to be removed in python 3.12 --- straight/plugin/loaders.py | 1 - 1 file changed, 1 deletion(-) diff --git a/straight/plugin/loaders.py b/straight/plugin/loaders.py index 1a17732..fbbdc68 100644 --- a/straight/plugin/loaders.py +++ b/straight/plugin/loaders.py @@ -4,7 +4,6 @@ import sys from functools import lru_cache -from imp import find_module from importlib import import_module from straight.plugin.manager import PluginManager