diff options
author | daviddavid <geiger.david68210@gmail.com> | 2024-05-09 08:04:16 +0200 |
---|---|---|
committer | daviddavid <geiger.david68210@gmail.com> | 2024-05-09 08:04:16 +0200 |
commit | 6037e00ac231ec297a9ad0aacd46f3c6415bc759 (patch) | |
tree | 34bdcb7e101cf3bb3785cbe7da0392e3b720481d | |
parent | 39b88bfafa9249ca4663cf0557167079f0447780 (diff) | |
download | msec-6037e00ac231ec297a9ad0aacd46f3c6415bc759.tar msec-6037e00ac231ec297a9ad0aacd46f3c6415bc759.tar.gz msec-6037e00ac231ec297a9ad0aacd46f3c6415bc759.tar.bz2 msec-6037e00ac231ec297a9ad0aacd46f3c6415bc759.tar.xz msec-6037e00ac231ec297a9ad0aacd46f3c6415bc759.zip |
Migrate from imp to importlib
- the 'imp' module is deprecated from years and now Python 3.12 finally drops completely support of 'imp' module.
-rwxr-xr-x | src/msec/help_draksec.py | 2 | ||||
-rwxr-xr-x | 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 |