mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Styling: indentation
This commit is contained in:
parent
0b251d840b
commit
899ea4de82
1 changed files with 2 additions and 2 deletions
|
@ -134,9 +134,9 @@ EXAMPLES = '''
|
||||||
def dolink(src, path, state, module):
|
def dolink(src, path, state, module):
|
||||||
try:
|
try:
|
||||||
if state == 'hard':
|
if state == 'hard':
|
||||||
os.link(src,path)
|
os.link(src,path)
|
||||||
else:
|
else:
|
||||||
os.symlink(src, path)
|
os.symlink(src, path)
|
||||||
except OSError, e:
|
except OSError, e:
|
||||||
module.fail_json(path=path, msg='Error while linking: %s' % str(e))
|
module.fail_json(path=path, msg='Error while linking: %s' % str(e))
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue