diff options
| author | Andreas Raster <lazor@affenbande.org> | 2017-11-24 19:01:43 +0100 |
|---|---|---|
| committer | Jeremy Kersten <jke@odoo.com> | 2018-10-15 11:15:42 +0200 |
| commit | 956b3ce54d3c25faa35eb761ef66b6df158166a3 (patch) | |
| tree | 7ea58bf5cc1e9414321a7032f7f04de74297aedb /addons/web/static/src/xml/base.xml | |
| parent | d63de90a8ae17b6786b204a967b02a9c34b29bab (diff) | |
[FIX] server: ignore broken symlinks
Previously broken symlinks would cause a FileNotFoundError
exception in the filesystem watcher thread spawned when using the
--dev=reload argument.
This problem appeared when using emacs to edit python files while
they are being watched by an odoo instance for changes. Emacs
creates a broken symlink as lockfile in the same directory as the
python file that it edits.
This commit makes the filesystem watcher silently ignore any
FileNotFoundError that occurs when it tries to open a file.
Fixes #21214, closes #21215
Diffstat (limited to 'addons/web/static/src/xml/base.xml')
0 files changed, 0 insertions, 0 deletions
