From: | Florian Schmaus <flo@×××××××××.eu> | ||
---|---|---|---|
To: | gentoo-portage-dev@l.g.o | ||
Subject: | [gentoo-portage-dev] Re: [PATCH v4] env-update: create systemd env configuration if required | ||
Date: | Fri, 04 Sep 2020 15:39:58 | ||
Message-Id: | 5c314b2f-9df5-89bb-31aa-0b79162a2c4a@geekplace.eu | ||
In Reply to: | [gentoo-portage-dev] [PATCH v4] env-update: create systemd env configuration if required by Florian Schmaus |
1 | On 9/3/20 7:57 PM, Florian Schmaus wrote: |
2 | > + systemd_profile_env_path = os.path.join(systemd_environment_dir, |
3 | > + "10-gentoo-profile-env.conf") |
4 | > + with open(systemd_profile_env_path, "w") as systemd_profile_env: |
5 | |
6 | I just noticed that portage has atomic_ofstream(). Would you prefer this |
7 | change to use atomic_ofstream() instead of using "with open()"? |
8 | |
9 | - Florian |
File name | MIME type |
---|---|
signature.asc | application/pgp-signature |
Subject | Author |
---|---|
Re: [gentoo-portage-dev] Re: [PATCH v4] env-update: create systemd env configuration if required | Zac Medico <zmedico@g.o> |