diff options
author | Zac Medico <zmedico@gentoo.org> | 2010-08-05 23:35:33 -0700 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2010-08-05 23:35:33 -0700 |
commit | 88f0bd14c7bf43af8732b1f31f479aa9837c04be (patch) | |
tree | 5a9b9bf3b0b8bef3792a78d91f0363e63343e5dd /pym | |
parent | Bug #331271 - Fix USE_EXPAND wildcards so that the USE="linguas_* (diff) | |
download | portage-multirepo-88f0bd14c7bf43af8732b1f31f479aa9837c04be.tar.gz portage-multirepo-88f0bd14c7bf43af8732b1f31f479aa9837c04be.tar.bz2 portage-multirepo-88f0bd14c7bf43af8732b1f31f479aa9837c04be.zip |
Fix scope issue that could cause 'retval' variable to be undefined.
Diffstat (limited to 'pym')
-rw-r--r-- | pym/_emerge/PackageUninstall.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pym/_emerge/PackageUninstall.py b/pym/_emerge/PackageUninstall.py index 58a1717a..6f528663 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() |