From e6e8cc0d4be832a4ae0fa8212110a16882b40ebd Mon Sep 17 00:00:00 2001 From: Seth Vidal Date: Wed, 3 Jul 2013 16:50:31 -0400 Subject: [PATCH] make pid a str --- callback_plugins/logdetail.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/callback_plugins/logdetail.py b/callback_plugins/logdetail.py index adf40347ce..6025977985 100644 --- a/callback_plugins/logdetail.py +++ b/callback_plugins/logdetail.py @@ -30,7 +30,7 @@ LOG_PATH = '/var/log/ansible' class LogMech(object): def __init__(self): self.started = time.time() - self.pid = os.getpid() + self.pid = str(os.getpid()) self._pb_fn = None self._last_task_start = None self.play_info = {}