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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.