From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1KzJIi-0000hv-RQ for garchives@archives.gentoo.org; Sun, 09 Nov 2008 23:02:37 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 809EBE0217; Sun, 9 Nov 2008 23:02:36 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 51871E0217 for ; Sun, 9 Nov 2008 23:02:36 +0000 (UTC) Received: from stork.gentoo.org (stork.gentoo.org [64.127.104.133]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTP id 78DC764B88 for ; Sun, 9 Nov 2008 23:02:34 +0000 (UTC) Received: from zmedico by stork.gentoo.org with local (Exim 4.69) (envelope-from ) id 1KzJIg-0000AI-7S for gentoo-commits@lists.gentoo.org; Sun, 09 Nov 2008 23:02:34 +0000 To: gentoo-commits@lists.gentoo.org From: "Zac Medico (zmedico)" Subject: [gentoo-commits] portage r11842 - main/trunk/pym/portage/dbapi X-VCS-Repository: portage X-VCS-Revision: 11842 X-VCS-Files: main/trunk/pym/portage/dbapi/vartree.py X-VCS-Directories: main/trunk/pym/portage/dbapi X-VCS-Committer: zmedico X-VCS-Committer-Name: Zac Medico Content-Type: text/plain; charset=UTF-8 Message-Id: Sender: Zac Medico Date: Sun, 09 Nov 2008 23:02:34 +0000 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: 8743fc51-0aad-4862-81de-18654c933483 X-Archives-Hash: 0853f0ed0e9bc70248f20a7f0ffcaf96 Author: zmedico Date: 2008-11-09 23:02:33 +0000 (Sun, 09 Nov 2008) New Revision: 11842 Modified: main/trunk/pym/portage/dbapi/vartree.py Log: * Use noiselevel=3D-1 for preserve-libs ">>> needed" and "<<< !needed" me= ssages so that they're show even without --verbose mode. * Sort files for the ">>> needed" display. Modified: main/trunk/pym/portage/dbapi/vartree.py =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- main/trunk/pym/portage/dbapi/vartree.py 2008-11-09 22:36:06 UTC (rev = 11841) +++ main/trunk/pym/portage/dbapi/vartree.py 2008-11-09 23:02:33 UTC (rev = 11842) @@ -2573,7 +2573,7 @@ # Copy contents entries from the old package to the new one. new_contents =3D self.getcontents().copy() old_contents =3D self._installed_instance.getcontents() - for f in list(preserve_paths): + for f in sorted(preserve_paths): f_abs =3D os.path.join(root, f.lstrip(os.sep)) contents_entry =3D old_contents.get(f_abs) if contents_entry is None: @@ -2589,7 +2589,8 @@ continue new_contents[f_abs] =3D contents_entry obj_type =3D contents_entry[0] - showMessage(">>> needed %s %s\n" % (obj_type, f_abs)) + showMessage(">>> needed %s %s\n" % (obj_type, f_abs), + noiselevel=3D-1) # Add parent directories to contents if necessary. parent_dir =3D os.path.dirname(f_abs) while len(parent_dir) > len(root): @@ -2726,7 +2727,8 @@ raise del e else: - showMessage("<<< !needed %s %s\n" % (obj_type, obj)) + showMessage("<<< !needed %s %s\n" % (obj_type, obj), + noiselevel=3D-1) =20 # Remove empty parent directories if possible. while parent_dirs: