Skip to content

Commit 4b3881a

Browse files
committed
rename domain.system_profile to system_shell_profile
This loads /etc/profile.env ; naming it 'system_profile' is too close to implying it's /etc/make.profile , thus the rename. Signed-off-by: Brian Harring <ferringb@gmail.com>
1 parent a134f37 commit 4b3881a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/pkgcore/ebuild/domain.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ def __init__(
299299
self._settings = ProtectedDict(settings)
300300

301301
@load_property("/etc/profile.env", read_func=read_bash_dict)
302-
def system_profile(self, data):
302+
def system_shell_profile(self, data):
303303
# prepend system profile $PATH if it exists
304304
if "PATH" in data:
305305
path = stable_unique(
@@ -321,7 +321,7 @@ def settings(self):
321321
# reformat env.d and make.conf incrementals
322322
system_profile_settings = {}
323323
for x in INCREMENTALS:
324-
system_profile_val = self.system_profile.get(x, ())
324+
system_profile_val = self.system_shell_profile.get(x, ())
325325
make_conf_val = settings.get(x, ())
326326
if isinstance(system_profile_val, str):
327327
system_profile_val = tuple(system_profile_val.split())

0 commit comments

Comments
 (0)