make pid a str

This commit is contained in:
Seth Vidal 2013-07-03 16:50:31 -04:00
parent 2f1fb8a079
commit e6e8cc0d4b

View file

@ -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 = {}