diff options
Diffstat (limited to 'contrib/scripts/terminate.py.in')
-rw-r--r-- | contrib/scripts/terminate.py.in | 4 |
1 files changed, 1 insertions, 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 @@ | |||
20 | # Utility module that implements safe process termination for W32. | 20 | # Utility module that implements safe process termination for W32. |
21 | # For other platforms it's equivalent to Popen.kill () | 21 | # For other platforms it's equivalent to Popen.kill () |
22 | # Requires pywin32 on W32. | 22 | # Requires pywin32 on W32. |
23 | # FIXME: flake8 (python3 version) says, like in many other files: | ||
24 | # sys + subprocess are unnecessary imports, not used. | ||
25 | 23 | ||
26 | import sys | 24 | import sys |
27 | import os | ||
28 | import subprocess | 25 | import subprocess |
26 | import os | ||
29 | if os.name == 'nt': | 27 | if os.name == 'nt': |
30 | import win32api | 28 | import win32api |
31 | import win32process | 29 | import win32process |