diff options
| author | Luis González <lgonzalez@vauxoo.com> | 2018-04-17 13:17:47 +0200 |
|---|---|---|
| committer | Martin Trigaux <mat@odoo.com> | 2018-04-17 14:09:34 +0200 |
| commit | 1328c0960d5e561819f79a04483ff5b88e77df69 (patch) | |
| tree | 854715e2bf248c775da0a51adf31cbe15201624c /addons/web/static/src/js/views/basic/basic_renderer.js | |
| parent | 7a24df4889de386faa69e9f763214427a3eed46f (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/views/basic/basic_renderer.js')
0 files changed, 0 insertions, 0 deletions
