From: Fabian Groffen Date: Sat, 28 May 2011 09:21:54 +0000 (+0200) Subject: sleep_for_mtime_granularity: remove X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=03ddbaadd7667b41d7d89f4018aa5b8bcf51f657;p=portage.git 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. --- 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[:]