From b153512fad033ee9eafb8645e563d36d2c97cf74 Mon Sep 17 00:00:00 2001 From: Nils Gillmann Date: Tue, 22 May 2018 11:45:57 +0000 Subject: [PATCH] + Signed-off-by: Nils Gillmann --- contrib/scripts/terminate.py.in | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/contrib/scripts/terminate.py.in b/contrib/scripts/terminate.py.in index b94466c63..c6acfdba8 100644 --- a/contrib/scripts/terminate.py.in +++ b/contrib/scripts/terminate.py.in @@ -20,12 +20,10 @@ # Utility module that implements safe process termination for W32. # For other platforms it's equivalent to Popen.kill () # Requires pywin32 on W32. -# FIXME: flake8 (python3 version) says, like in many other files: -# sys + subprocess are unnecessary imports, not used. import sys -import os import subprocess +import os if os.name == 'nt': import win32api import win32process -- 2.25.1