]> sourceware.org Git - libabigail.git/commit
Replace use of deprecated Python 'imp' module with 'importlib'
authorThomas Schwinge <thomas@codesourcery.com>
Fri, 17 Dec 2021 22:26:30 +0000 (23:26 +0100)
committerDodji Seketeli <dodji@redhat.com>
Tue, 21 Dec 2021 13:27:42 +0000 (14:27 +0100)
commitf0582fdbf1267f0f34bf3c3b6698b60026410146
treeadb66b28af72d4b0b6cc045b6cf84d781f1433ee
parentfeb441e284a03f3ff86fd0962cfaf5a9efedf28d
Replace use of deprecated Python 'imp' module with 'importlib'

In the test logs, I've found a number of:

    [...]/tests/mockfedabipkgdiff:42: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
      import imp

I've asked The Internet what to do about that, and this commit is the result.
But beware: I'm not a Python wizard.

* tests/mockfedabipkgdiff.in: Replace use of deprecated Python
'imp' module with 'importlib'.

CC: Chenxiong Qi <cqi@redhat.com>
Signed-off-by: Thomas Schwinge <thomas@codesourcery.com>
tests/mockfedabipkgdiff.in
This page took 0.032188 seconds and 5 git commands to generate.