diff options
author | Nils Gillmann <ng0@n0.is> | 2018-05-22 11:45:57 +0000 |
---|---|---|
committer | Nils Gillmann <ng0@n0.is> | 2018-05-22 11:45:57 +0000 |
commit | b153512fad033ee9eafb8645e563d36d2c97cf74 (patch) | |
tree | e38613ff4103f8c9f3b8bcfdf56bfd3bd576c0f0 /contrib | |
parent | 4cf7409d7a69e3e844c3b9ddd52f63f4c1298835 (diff) | |
download | gnunet-b153512fad033ee9eafb8645e563d36d2c97cf74.tar.gz gnunet-b153512fad033ee9eafb8645e563d36d2c97cf74.zip |
+
Signed-off-by: Nils Gillmann <ng0@n0.is>
Diffstat (limited to 'contrib')
-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 |