]> git.ipfire.org Git - thirdparty/babel.git/commit
Hardcode "ignore" method
authorsebleblanc <seb@sebleblanc.net>
Tue, 3 Dec 2019 04:45:42 +0000 (04:45 +0000)
committerAarni Koskela <akx@iki.fi>
Tue, 31 Dec 2019 09:47:59 +0000 (11:47 +0200)
commitc42bc9e907d638b368d07a326daa841e4a0bd691
tree7bcc58026dc326f87f54bbf25753173bf08078df
parentdf9c01c6480ef20523418079b6774612e47b8c63
Hardcode "ignore" method

The "ignore" method used to force the opening of the file. Some editors (emacs) create symbolic links to use as synchronization locks. Those links have an extension that matches the opened file, but the links themselves do not point to an existing file, thus causing Babel to attempt to open a file that does not exist.

This fix skips opening of a file altogether when using the method "ignore" in the mapping file.
babel/messages/extract.py