1 |
Author: zmedico |
2 |
Date: 2008-05-02 03:23:36 +0000 (Fri, 02 May 2008) |
3 |
New Revision: 10072 |
4 |
|
5 |
Modified: |
6 |
main/trunk/pym/_emerge/__init__.py |
7 |
Log: |
8 |
Fix broken variable references found by pyflakes. |
9 |
|
10 |
|
11 |
Modified: main/trunk/pym/_emerge/__init__.py |
12 |
=================================================================== |
13 |
--- main/trunk/pym/_emerge/__init__.py 2008-05-02 02:57:45 UTC (rev 10071) |
14 |
+++ main/trunk/pym/_emerge/__init__.py 2008-05-02 03:23:36 UTC (rev 10072) |
15 |
@@ -3182,7 +3182,7 @@ |
16 |
blockers is not None: |
17 |
# Re-use the blockers from the graph. |
18 |
blocker_atoms = sorted(blockers) |
19 |
- counter = long(node.metadata["COUNTER"]) |
20 |
+ counter = long(pkg.metadata["COUNTER"]) |
21 |
blocker_data = \ |
22 |
blocker_cache.BlockerData(counter, blocker_atoms) |
23 |
blocker_cache[pkg.cpv] = blocker_data |
24 |
@@ -4208,9 +4208,7 @@ |
25 |
counters.newslot += 1 |
26 |
|
27 |
if "--changelog" in self.myopts: |
28 |
- slot_atom = "%s:%s" % (portage.dep_getkey(pkg_key), |
29 |
- mydbapi.aux_get(pkg_key, ["SLOT"])[0]) |
30 |
- inst_matches = vardb.match(slot_atom) |
31 |
+ inst_matches = vardb.match(pkg.slot_atom) |
32 |
if inst_matches: |
33 |
changelogs.extend(self.calc_changelog( |
34 |
portdb.findname(pkg_key), |
35 |
|
36 |
-- |
37 |
gentoo-commits@l.g.o mailing list |