summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2008-02-08 11:46:53 +0000
committerZac Medico <zmedico@gentoo.org>2008-02-08 11:46:53 +0000
commit96a1e99ea1e65062aa6a2aa47f2e979cf89c6fb1 (patch)
tree9877556442d61b48744fa7ff591bfbe0b696ff0e
parentdcf5a088ddfa777fdd279213cb90252515e46a35 (diff)
downloadportage-96a1e99ea1e65062aa6a2aa47f2e979cf89c6fb1.tar.gz
portage-96a1e99ea1e65062aa6a2aa47f2e979cf89c6fb1.tar.bz2
portage-96a1e99ea1e65062aa6a2aa47f2e979cf89c6fb1.zip
Fix some broken variable references found by pyflakes.
svn path=/main/trunk/; revision=9299
-rw-r--r--pym/_emerge/__init__.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pym/_emerge/__init__.py b/pym/_emerge/__init__.py
index 5be88735d..2aacbd8dc 100644
--- a/pym/_emerge/__init__.py
+++ b/pym/_emerge/__init__.py
@@ -2361,7 +2361,7 @@ class depgraph(object):
metadata = None
if metadata and not built:
if "?" in metadata["LICENSE"]:
- pkgsettings.setcpv(p, mydb=portdb)
+ pkgsettings.setcpv(cpv, mydb=portdb)
metadata["USE"] = pkgsettings.get("USE", "")
else:
metadata["USE"] = ""
@@ -6304,7 +6304,7 @@ def action_depclean(settings, trees, ldpath_mtimes,
except portage.exception.InvalidDependString, e:
file_path = os.path.join(
myroot, portage.VDB_PATH, pkg, "PROVIDE")
- portage.writemsg("\n\nInvalid PROVIDE: %s\n" % str(s),
+ portage.writemsg("\n\nInvalid PROVIDE: %s\n" % str(e),
noiselevel=-1)
portage.writemsg("See '%s'\n" % file_path,
noiselevel=-1)