Styling: indentation
This commit is contained in:
parent
2f5ad8c5d6
commit
90c1701f1c
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…
Add table
Reference in a new issue