From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1QQFkc-0002TZ-HN for garchives@archives.gentoo.org; Sat, 28 May 2011 09:24:06 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 43EDA1C027; Sat, 28 May 2011 09:23:59 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id F0FDC1C027 for ; Sat, 28 May 2011 09:23:58 +0000 (UTC) Received: from pelican.gentoo.org (unknown [66.219.59.40]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 5C2681B4012 for ; Sat, 28 May 2011 09:23:58 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id BA11B80505 for ; Sat, 28 May 2011 09:23:57 +0000 (UTC) From: "Fabian Groffen" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Fabian Groffen" Message-ID: <03ddbaadd7667b41d7d89f4018aa5b8bcf51f657.grobian@gentoo> Subject: [gentoo-commits] proj/portage:prefix commit in: pym/portage/util/ X-VCS-Repository: proj/portage X-VCS-Files: pym/portage/util/env_update.py X-VCS-Directories: pym/portage/util/ X-VCS-Committer: grobian X-VCS-Committer-Name: Fabian Groffen X-VCS-Revision: 03ddbaadd7667b41d7d89f4018aa5b8bcf51f657 Date: Sat, 28 May 2011 09:23:57 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: f4d552d738f67412e2df5dd3767cbaab commit: 03ddbaadd7667b41d7d89f4018aa5b8bcf51f657 Author: Fabian Groffen gentoo org> AuthorDate: Sat May 28 09:21:54 2011 +0000 Commit: Fabian Groffen gentoo org> CommitDate: Sat May 28 09:21:54 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/portage.git;a= =3Dcommit;h=3D03ddbaad 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 files changed, 3 insertions(+), 8 deletions(-) diff --git a/pym/portage/util/env_update.py b/pym/portage/util/env_update= .py index 70b7356..ea3bef1 100644 --- a/pym/portage/util/env_update.py +++ b/pym/portage/util/env_update.py @@ -118,12 +118,9 @@ def env_update(makelinks=3D1, target_root=3DNone, pr= ev_mtimes=3DNone, contents=3DNone, env.update(myconfig) =20 if EPREFIX =3D=3D '': - sleep_for_mtime_granularity =3D dolinkingstuff( - target_root, specials, prelink_capable, + dolinkingstuff(target_root, specials, prelink_capable, makelinks, contents, prev_mtimes, env) - else: - sleep_for_mtime_granularity =3D False - writeshellprofile(target_root, env, sleep_for_mtime_granularity) + writeshellprofile(target_root, env) =20 def dolinkingstuff(target_root, specials, prelink_capable, makelinks, contents, prev_mtimes, env): @@ -275,9 +272,7 @@ def dolinkingstuff(target_root, specials, prelink_cap= able, makelinks, =20 del specials["LDPATH"] =20 - return sleep_for_mtime_granularity - -def writeshellprofile(target_root, env, sleep_for_mtime_granularity): +def writeshellprofile(target_root, env): penvnotice =3D "# THIS FILE IS AUTOMATICALLY GENERATED BY env-update.\= n" penvnotice +=3D "# DO NOT EDIT THIS FILE. CHANGES TO STARTUP PROFILES\n= " cenvnotice =3D penvnotice[:]