Re: [PATCH v4] env-update: create systemd env configuration if required

Florian Schmaus <[email protected]>
Newsgroups gmane.linux.gentoo.portage.devel
Message-ID <[email protected]>
On 9/3/20 7:57 PM, Florian Schmaus wrote:
> +	systemd_profile_env_path = os.path.join(systemd_environment_dir,
> +					     "10-gentoo-profile-env.conf")
> +	with open(systemd_profile_env_path, "w") as systemd_profile_env:

I just noticed that portage has atomic_ofstream(). Would you prefer this
change to use atomic_ofstream() instead of using "with open()"?

- Florian
signature.asc (application/pgp-signature, 618 B)
-----BEGIN PGP SIGNATURE-----

iQGTBAEBCgB9FiEEl3UFnzoh3OFr5PuuIjmn6PWFIFIFAl9SX8lfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDk3
NzUwNTlGM0EyMURDRTE2QkU0RkJBRTIyMzlBN0U4RjU4NTIwNTIACgkQIjmn6PWF
IFKESQgAjNrVo/2X4WEJ55XK65iH4V9x1q1A4jr4onNnMJncB76vtk4UJhknjKNn
1Yrw0thJL+ttz/uqGwUhZRt9iZfWFpOwKMm+rFEdsKSsBe0t/Q3/dt3GSjGUTlwc
vfamfi5nfjolDiMNwlMe2G82RYGSb0bAMFvKuVNLr5xz3P53XJXhhgkXUr0mV33c
7QnD9M+Llh4xB5TAh+/A0ar8Odz2Pzlt1l6BiPpiFmETquHHSw+shBc+nuxpTiVx
nykhONXLzp2wMu9WRnXR0/I9NlJHC2XfQgoVZ/kGelzC81B6wwKzwBzOP4zG9hNV
qy4nsaxKCq86YobvCREirnn7SCOPxA==
=0w5A
-----END PGP SIGNATURE-----
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.