aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNils Gillmann <ng0@n0.is>2018-05-22 11:45:57 +0000
committerNils Gillmann <ng0@n0.is>2018-05-22 11:45:57 +0000
commitb153512fad033ee9eafb8645e563d36d2c97cf74 (patch)
treee38613ff4103f8c9f3b8bcfdf56bfd3bd576c0f0
parent4cf7409d7a69e3e844c3b9ddd52f63f4c1298835 (diff)
+
Signed-off-by: Nils Gillmann <ng0@n0.is>
-rw-r--r--contrib/scripts/terminate.py.in4
1 files changed, 1 insertions, 3 deletions
diff --git a/contrib/scripts/terminate.py.in b/contrib/scripts/terminate.py.in
index b94466c636..c6acfdba8b 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