public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Fabian Groffen" <grobian@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/portage:prefix commit in: pym/portage/util/
Date: Sat, 28 May 2011 09:23:57 +0000 (UTC)	[thread overview]
Message-ID: <03ddbaadd7667b41d7d89f4018aa5b8bcf51f657.grobian@gentoo> (raw)

commit:     03ddbaadd7667b41d7d89f4018aa5b8bcf51f657
Author:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Sat May 28 09:21:54 2011 +0000
Commit:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Sat May 28 09:21:54 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=03ddbaad

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=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[:]



             reply	other threads:[~2011-05-28  9:24 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-28  9:23 Fabian Groffen [this message]
  -- strict thread matches above, loose matches on Subject: below --
2015-06-20  6:55 [gentoo-commits] proj/portage:prefix commit in: pym/portage/util/ Fabian Groffen
2015-06-14 17:37 Fabian Groffen
2013-09-18 18:34 Fabian Groffen
2013-09-18 18:34 Fabian Groffen
2013-09-18 18:34 Fabian Groffen
2012-01-10 17:45 Fabian Groffen
2011-02-06 21:01 Fabian Groffen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=03ddbaadd7667b41d7d89f4018aa5b8bcf51f657.grobian@gentoo \
    --to=grobian@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox