URL:
https://github.com/freeipa/freeipa/pull/4913
Author: fcami
Title: #4913: vault.py: flush the certificate after renaming
Action: opened
PR body:
"""
store_cert() does f.write, flush_sync, f.close, os.rename(f.name)
in that order. The directory is not flushed.
* get rid of f.close as this is taken care of by the nested block
* rename the file first then use f.flush_sync
Signed-off-by: François Cami <fcami(a)redhat.com>
"""
To pull the PR as Git branch:
git remote add ghfreeipa
https://github.com/freeipa/freeipa
git fetch ghfreeipa pull/4913/head:pr4913
git checkout pr4913