Re: [AUH] [PATCH 1/2] git: use temp file for commit message to avoid shell escaping issues
"Daniel Turull" <[email protected]>
| Newsgroups | org.yoctoproject.lists.yocto-patches |
|---|---|
| Message-ID | <[email protected]> |
Hi, thanks for the quick review. I assumed _cmd had to be called after the "with" block, so I used delete=False to keep the file on disk after it was closed after the with block. Moving _cmd inside the with block with a f.flush() is simpler. I'll send a v2. Cheers, Daniel