From ea8302e68d8f2ee239be32792e212fd6754fa5c8 Mon Sep 17 00:00:00 2001 From: Michael DeHaan Date: Sat, 11 May 2013 17:24:40 -0400 Subject: [PATCH] Indentation. --- lib/ansible/callbacks.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/lib/ansible/callbacks.py b/lib/ansible/callbacks.py index e00e231536..6a047f8300 100644 --- a/lib/ansible/callbacks.py +++ b/lib/ansible/callbacks.py @@ -66,13 +66,13 @@ def get_cowsay_info(): cowsay, noncow = get_cowsay_info() def log_lockfile(): - tempdir = tempfile.gettempdir() - uid = os.getuid() - path = os.path.join(tempdir, ".ansible-lock.%s" % uid) - if not os.path.exists(path): - fh = open(path, 'w') - fh.close() - return path + tempdir = tempfile.gettempdir() + uid = os.getuid() + path = os.path.join(tempdir, ".ansible-lock.%s" % uid) + if not os.path.exists(path): + fh = open(path, 'w') + fh.close() + return path LOG_LOCK = open(log_lockfile(), 'r')