mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Indentation.
This commit is contained in:
parent
9f47d13306
commit
ea8302e68d
1 changed files with 7 additions and 7 deletions
|
@ -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')
|
||||
|
||||
|
|
Loading…
Reference in a new issue