mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
parent
0f456d7e61
commit
3025451b10
1 changed files with 1 additions and 1 deletions
|
@ -288,7 +288,7 @@ def main():
|
||||||
except OSError, ex:
|
except OSError, ex:
|
||||||
# Possibly something else created the dir since the os.path.exists
|
# Possibly something else created the dir since the os.path.exists
|
||||||
# check above. As long as it's a dir, we don't need to error out.
|
# check above. As long as it's a dir, we don't need to error out.
|
||||||
if not (ex.errno == errno.EEXISTS and os.isdir(curpath)):
|
if not (ex.errno == errno.EEXIST and os.isdir(curpath)):
|
||||||
raise
|
raise
|
||||||
tmp_file_args = file_args.copy()
|
tmp_file_args = file_args.copy()
|
||||||
tmp_file_args['path']=curpath
|
tmp_file_args['path']=curpath
|
||||||
|
|
Loading…
Add table
Reference in a new issue