Gentoo Archives: gentoo-commits

From: "Zac Medico (zmedico)" <zmedico@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] portage r13484 - main/branches/2.1.6/pym/_emerge
Date: Thu, 30 Apr 2009 07:03:59
Message-Id: E1LzQJJ-00071h-F0@stork.gentoo.org
1 Author: zmedico
2 Date: 2009-04-30 07:03:56 +0000 (Thu, 30 Apr 2009)
3 New Revision: 13484
4
5 Modified:
6 main/branches/2.1.6/pym/_emerge/__init__.py
7 Log:
8 Fix broken logic from previous commit. (trunk r13313)
9
10 Modified: main/branches/2.1.6/pym/_emerge/__init__.py
11 ===================================================================
12 --- main/branches/2.1.6/pym/_emerge/__init__.py 2009-04-30 07:03:46 UTC (rev 13483)
13 +++ main/branches/2.1.6/pym/_emerge/__init__.py 2009-04-30 07:03:56 UTC (rev 13484)
14 @@ -8779,8 +8779,10 @@
15 # It does no exist or it is corrupt.
16 if action == "uninstall":
17 continue
18 - if not skip_missing:
19 - raise portage.exception.PackageNotFound(pkg_key)
20 + if skip_missing:
21 + # TODO: log these somewhere
22 + continue
23 + raise portage.exception.PackageNotFound(pkg_key)
24 installed = action == "uninstall"
25 built = pkg_type != "ebuild"
26 root_config = self.roots[myroot]