holgern / py-scrypt

This is a set of Python bindings for the scrypt key derivation function.
Other
28 stars 7 forks source link

imp -> importlib (imp is deprecated) #2

Closed dyuri closed 4 years ago

dyuri commented 5 years ago

I get DeprecationWarning when using scrypt:

scrypt.py:3: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses

So I've replaced imp with importlib.

dyuri commented 5 years ago

Ah sorry, I have not checked my change with python 2, importlib does not have this feature there.