Make prev_mtimes available, http://archives.gentoo.org/gentoo-alt/msg_e3d3c24a0dc46fb...
authorFabian Groffen <grobian@gentoo.org>
Sat, 9 Jan 2010 15:17:09 +0000 (15:17 -0000)
committerFabian Groffen <grobian@gentoo.org>
Sat, 9 Jan 2010 15:17:09 +0000 (15:17 -0000)
svn path=/main/branches/prefix/; revision=15183

pym/portage/__init__.py

index 2c81d4c828fdc33eda285ec38dd863c3425b9511..ee20f83f3477194b8b419606bace3a1ea3a5d076 100644 (file)
@@ -1053,13 +1053,13 @@ def env_update(makelinks=1, target_root=None, prev_mtimes=None, contents=None,
        if EPREFIX == '':
                sleep_for_mtime_granularity = dolinkingstuff(
                                target_root, specials, prelink_capable,
-                               makelinks, contents)
+                               makelinks, contents, prev_mtimes)
        else:
                sleep_for_mtime_granularity = False
        writeshellprofile(target_root, env, sleep_for_mtime_granularity)
 
 def dolinkingstuff(target_root, specials, prelink_capable, makelinks,
-               contents):
+               contents, prev_mtimes):
        # updating this stuff will never work in an offset, other than ROOT
        # (e.g. not in Prefix), hence the EPREFIX is not taken into account
        # here since this code should never be triggered on an offset install