[PATCH 9/9] gen_gl_wrappers: remove unused imports

Konstantin Kharlamov Hi-Angel at yandex.ru
Sat Mar 23 23:52:03 UTC 2019


Fixes LGTM warnings:
    * Import of 'cProfile' is not used.
    * Import of 'pdb' is not used.
    * Import of 'string' is not used.
    * Import of 'time' is not used.

Signed-off-by: Konstantin Kharlamov <Hi-Angel at yandex.ru>
---
 hw/xwin/glx/gen_gl_wrappers.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hw/xwin/glx/gen_gl_wrappers.py b/hw/xwin/glx/gen_gl_wrappers.py
index b9e8dda75..256f2d752 100755
--- a/hw/xwin/glx/gen_gl_wrappers.py
+++ b/hw/xwin/glx/gen_gl_wrappers.py
@@ -24,7 +24,7 @@
 # TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
 # MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.
 
-import sys, time, pdb, string, cProfile
+import sys
 from reg import *
 
 # Default input / log files
-- 
2.21.0



More information about the xorg-devel mailing list