From 03ddbaadd7667b41d7d89f4018aa5b8bcf51f657 Mon Sep 17 00:00:00 2001 From: Fabian Groffen Date: Sat, 28 May 2011 11:21:54 +0200 Subject: [PATCH] sleep_for_mtime_granularity: remove Remove trails from long gone sleep_for_mtime_granularity, that were still in the Prefix branch, because some functionality was factored out in a function in order to be able to easily skip it. --- pym/portage/util/env_update.py | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/pym/portage/util/env_update.py b/pym/portage/util/env_update.py index 70b735682..ea3bef196 100644 --- a/pym/portage/util/env_update.py +++ b/pym/portage/util/env_update.py @@ -118,12 +118,9 @@ def env_update(makelinks=1, target_root=None, prev_mtimes=None, contents=None, env.update(myconfig) if EPREFIX == '': - sleep_for_mtime_granularity = dolinkingstuff( - target_root, specials, prelink_capable, + dolinkingstuff(target_root, specials, prelink_capable, makelinks, contents, prev_mtimes, env) - else: - sleep_for_mtime_granularity = False - writeshellprofile(target_root, env, sleep_for_mtime_granularity) + writeshellprofile(target_root, env) def dolinkingstuff(target_root, specials, prelink_capable, makelinks, contents, prev_mtimes, env): @@ -275,9 +272,7 @@ def dolinkingstuff(target_root, specials, prelink_capable, makelinks, del specials["LDPATH"] - return sleep_for_mtime_granularity - -def writeshellprofile(target_root, env, sleep_for_mtime_granularity): +def writeshellprofile(target_root, env): penvnotice = "# THIS FILE IS AUTOMATICALLY GENERATED BY env-update.\n" penvnotice += "# DO NOT EDIT THIS FILE. CHANGES TO STARTUP PROFILES\n" cenvnotice = penvnotice[:] -- 2.26.2