summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/widgets
diff options
context:
space:
mode:
authorLuis González <lgonzalez@vauxoo.com>2018-04-17 13:17:47 +0200
committerMartin Trigaux <mat@odoo.com>2018-04-17 14:09:34 +0200
commit1328c0960d5e561819f79a04483ff5b88e77df69 (patch)
tree854715e2bf248c775da0a51adf31cbe15201624c /addons/web/static/src/js/widgets
parent7a24df4889de386faa69e9f763214427a3eed46f (diff)
[IMP] tools: avoid concurrent creation of the session_dir
Instead of: 1. testing the existance 2. creating the directory if not exists (which would not work if a concurrent creation is done between step 1 and 2) do: 1. try to create the directory 2. skip if it fails Ask forgiveness, not permission Closes #24210
Diffstat (limited to 'addons/web/static/src/js/widgets')
0 files changed, 0 insertions, 0 deletions