mbj4668 / pyang

An extensible YANG validator and converter in python
ISC License
530 stars 342 forks source link

do not remove sid file before writing it #842

Closed mcr closed 10 months ago

mcr commented 1 year ago

rather than removing a file (and possibly the carefully crafted symlink), just truncate the file after opening. This allows for creative symlinks to deal with #841 writing the file in the wrong place.