From 88f0bd14c7bf43af8732b1f31f479aa9837c04be Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Thu, 5 Aug 2010 23:35:33 -0700 Subject: [PATCH] Fix scope issue that could cause 'retval' variable to be undefined. --- pym/_emerge/PackageUninstall.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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() -- 2.26.2