* [gentoo-commits] portage r10074 - main/branches/2.1.2/bin
@ 2008-05-02 3:24 Zac Medico (zmedico)
0 siblings, 0 replies; only message in thread
From: Zac Medico (zmedico) @ 2008-05-02 3:24 UTC (permalink / raw
To: gentoo-commits
Author: zmedico
Date: 2008-05-02 03:24:05 +0000 (Fri, 02 May 2008)
New Revision: 10074
Modified:
main/branches/2.1.2/bin/emerge
Log:
Fix broken variable references found by pyflakes. (trunk r10072)
Modified: main/branches/2.1.2/bin/emerge
===================================================================
--- main/branches/2.1.2/bin/emerge 2008-05-02 03:23:38 UTC (rev 10073)
+++ main/branches/2.1.2/bin/emerge 2008-05-02 03:24:05 UTC (rev 10074)
@@ -3329,7 +3329,7 @@
blockers is not None:
# Re-use the blockers from the graph.
blocker_atoms = sorted(blockers)
- counter = long(node.metadata["COUNTER"])
+ counter = long(pkg.metadata["COUNTER"])
blocker_data = \
blocker_cache.BlockerData(counter, blocker_atoms)
blocker_cache[pkg.cpv] = blocker_data
@@ -4355,9 +4355,7 @@
counters.newslot += 1
if "--changelog" in self.myopts:
- slot_atom = "%s:%s" % (portage.dep_getkey(pkg_key),
- mydbapi.aux_get(pkg_key, ["SLOT"])[0])
- inst_matches = vardb.match(slot_atom)
+ inst_matches = vardb.match(pkg.slot_atom)
if inst_matches:
changelogs.extend(self.calc_changelog(
portdb.findname(pkg_key),
--
gentoo-commits@lists.gentoo.org mailing list
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-05-02 3:24 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-02 3:24 [gentoo-commits] portage r10074 - main/branches/2.1.2/bin Zac Medico (zmedico)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox