From 6037e00ac231ec297a9ad0aacd46f3c6415bc759 Mon Sep 17 00:00:00 2001 From: daviddavid Date: Thu, 9 May 2024 08:04:16 +0200 Subject: Migrate from imp to importlib - the 'imp' module is deprecated from years and now Python 3.12 finally drops completely support of 'imp' module. --- src/msec/help_draksec.py | 2 +- src/msec/man.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/msec/help_draksec.py b/src/msec/help_draksec.py index 893b12b..9a7116f 100755 --- a/src/msec/help_draksec.py +++ b/src/msec/help_draksec.py @@ -4,7 +4,7 @@ # import sys -import imp +import importlib import inspect import re diff --git a/src/msec/man.py b/src/msec/man.py index d896404..1d767c5 100755 --- a/src/msec/man.py +++ b/src/msec/man.py @@ -11,7 +11,7 @@ #--------------------------------------------------------------- import sys -import imp +import importlib import inspect import config -- cgit v1.2.1