From ca8f389e7c13fe74525c2833e2f1fb83f52a1565 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Wed, 9 Jul 2008 23:20:32 +0000 Subject: [PATCH] Bug #231358 - Fix 'NameError: global name 'p' is not defined' in getmaskingstatus() that's triggered by a conditional in LICENSE. svn path=/main/trunk/; revision=11004 --- pym/portage/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pym/portage/__init__.py b/pym/portage/__init__.py index 1feab98f4..306d85b3b 100644 --- a/pym/portage/__init__.py +++ b/pym/portage/__init__.py @@ -6447,7 +6447,7 @@ def getmaskingstatus(mycpv, settings=None, portdb=None): raise return ["corruption"] if "?" in metadata["LICENSE"]: - settings.setcpv(p, mydb=metadata) + settings.setcpv(mycpv, mydb=metadata) metadata["USE"] = settings["PORTAGE_USE"] else: metadata["USE"] = "" -- 2.26.2