projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4cf7409
)
+
author
Nils Gillmann
<ng0@n0.is>
Tue, 22 May 2018 11:45:57 +0000
(11:45 +0000)
committer
Nils Gillmann
<ng0@n0.is>
Tue, 22 May 2018 11:45:57 +0000
(11:45 +0000)
Signed-off-by: Nils Gillmann <ng0@n0.is>
contrib/scripts/terminate.py.in
patch
|
blob
|
history
diff --git
a/contrib/scripts/terminate.py.in
b/contrib/scripts/terminate.py.in
index b94466c6361c5cee2fbe839c535c129ef7d2b946..c6acfdba8bdcbe40c94222280ad2679e5288a316 100644
(file)
--- 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