From 2859965bb164f322d2e169d8534cdc535a3f9901 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sat, 15 Oct 2011 14:40:28 -0700 Subject: fixpackages: don't use PORTAGE_CALLER --- bin/fixpackages | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'bin') diff --git a/bin/fixpackages b/bin/fixpackages index 5e1df7045..dc43ed2b3 100755 --- a/bin/fixpackages +++ b/bin/fixpackages @@ -1,11 +1,12 @@ #!/usr/bin/python -# Copyright 1999-2006 Gentoo Foundation +# Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 from __future__ import print_function -import os,sys -os.environ["PORTAGE_CALLER"]="fixpackages" +import os +import sys + try: import portage except ImportError: @@ -38,7 +39,7 @@ except (OSError, ValueError) as e: portage.writemsg("!!! %s\n" % str(e)) del e -_global_updates(mytrees, mtimedb["updates"]) +_global_updates(mytrees, mtimedb["updates"], if_mtime_changed=False) print() print("Done.") -- cgit v1.2.3-1-g7c22