[Mesa-dev] [PATCH mesa 1/3] mesa: drop unused & deprecated lib

Dylan Baker dylan at pnwbakers.com
Wed Nov 7 17:40:14 UTC 2018


Quoting Eric Engestrom (2018-11-07 05:20:20)
>   DeprecationWarning: the imp module is deprecated in favour of importlib
> 
> Signed-off-by: Eric Engestrom <eric.engestrom at intel.com>
> ---
>  src/mesa/main/get_hash_generator.py | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/mesa/main/get_hash_generator.py b/src/mesa/main/get_hash_generator.py
> index 37dae45e0b39f06be6a2..f742ebff4b84cd64a9fa 100644
> --- a/src/mesa/main/get_hash_generator.py
> +++ b/src/mesa/main/get_hash_generator.py
> @@ -30,7 +30,7 @@
>  
>  from __future__ import print_function
>  
> -import os, sys, imp, getopt
> +import os, sys, getopt
>  from collections import defaultdict
>  import get_hash_params
>  
> -- 
> Cheers,
>   Eric
> 

for this patch:
Reviewed-by: Dylan Baker <dylan at pnwbakers.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: signature
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20181107/367a123d/attachment-0001.sig>


More information about the mesa-dev mailing list