From: Zac Medico Date: Fri, 6 Aug 2010 06:35:33 +0000 (-0700) Subject: Fix scope issue that could cause 'retval' variable to be undefined. X-Git-Tag: v2.2_rc68~388 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=88f0bd14c7bf43af8732b1f31f479aa9837c04be;p=portage.git Fix scope issue that could cause 'retval' variable to be undefined. --- diff --git a/pym/_emerge/PackageUninstall.py b/pym/_emerge/PackageUninstall.py index 58a1717a2..6f528663a 100644 --- a/pym/_emerge/PackageUninstall.py +++ b/pym/_emerge/PackageUninstall.py @@ -27,8 +27,8 @@ class PackageUninstall(AsynchronousTask): else: self.returncode = os.EX_OK - if retval == 1: - self.world_atom(self.pkg) + if retval == 1: + self.world_atom(self.pkg) self.wait()