Module: check_mk
Branch: master
Commit: 0b3797222920d837fe425cc42fff80a9f8e965eb
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=0b3797222920d8…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Thu Jan 24 09:45:37 2013 +0100
Cleanup import statement
---
mkeventd/bin/mkeventd | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/mkeventd/bin/mkeventd b/mkeventd/bin/mkeventd
index c2c70a3..81a5887 100755
--- a/mkeventd/bin/mkeventd
+++ b/mkeventd/bin/mkeventd
@@ -2,7 +2,7 @@
# encoding: utf-8
import socket, os, time, sys, getopt, signal, thread, pprint, re, \
- select, subprocess
+ select, subprocess, stat
from pwd import getpwnam
from grp import getgrnam
@@ -683,7 +683,6 @@ class EventServer:
return headers, [row]
def create_pipe(self):
- import stat
try:
if not stat.S_ISFIFO(os.stat(g_pipe_path).st_mode):
os.remove(g_pipe_path)