diff options
| author | Nicolas Lempereur <nle@odoo.com> | 2016-08-31 10:34:06 +0200 |
|---|---|---|
| committer | Nicolas Lempereur <nle@odoo.com> | 2016-08-31 13:11:45 +0200 |
| commit | 3d3f9ed980d97cb375dd914a1944fa2620efd9c4 (patch) | |
| tree | 3923925459d75cdd0c14c22e55122cc08f2feab2 /addons/web/static/lib/jquery.mjs.nestedSortable/jquery.mjs.nestedSortable.js | |
| parent | 372395c7454538da99c7f9506a58319233167652 (diff) | |
[FIX] tools: fix guess_mimetype coming from libmagic
Since 5a9e1af64 our guess_mimetype accepted a `default` named argument.
This commit fix the use of library used instead of our implementation, so
we don't get an error from an unexpected argument when having python-magic
installed on a given server.
Since python-magic functions always return a default mimetype:
- empty content: application/x-empty
- text content: text/plain
- binary content: application/octet-stream
the guess_mimetype default argument is not used with python-magic
implementations.
closes #13343
opw-687354
Diffstat (limited to 'addons/web/static/lib/jquery.mjs.nestedSortable/jquery.mjs.nestedSortable.js')
0 files changed, 0 insertions, 0 deletions
