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

Eric Engestrom eric.engestrom at intel.com
Wed Nov 7 13:20:20 UTC 2018


  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



More information about the mesa-dev mailing list