From: Zac Medico Date: Wed, 9 Jul 2008 23:20:32 +0000 (-0000) Subject: Bug #231358 - Fix 'NameError: global name 'p' is not defined' in X-Git-Tag: v2.2_rc2~140 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=ca8f389e7c13fe74525c2833e2f1fb83f52a1565;p=portage.git 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 --- 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"] = ""