mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 17:09:03 +00:00
Create parent directories
This commit is contained in:
parent
18fc519270
commit
82b2b723a1
@ -147,7 +147,7 @@ def returner(load):
|
||||
hn_dir = os.path.join(jid_dir, load['id'])
|
||||
|
||||
try:
|
||||
os.mkdir(hn_dir)
|
||||
os.makedirs(hn_dir)
|
||||
except OSError as err:
|
||||
if err.errno == errno.EEXIST:
|
||||
# Minion has already returned this jid and it should be dropped
|
||||
|
Loading…
Reference in New Issue
Block a user