diff options
author | Zac Medico <zmedico@gentoo.org> | 2008-03-15 05:28:53 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2008-03-15 05:28:53 +0000 |
commit | 83fbf0103256e0fec5095ea8d6989db56f064bc0 (patch) | |
tree | b91c04467c8baf2aafef619d66e8c3ba919cf6a5 | |
parent | 7a6df7ea17eaae286716ee420286830d56722f0c (diff) | |
download | portage-83fbf0103256e0fec5095ea8d6989db56f064bc0.tar.gz portage-83fbf0103256e0fec5095ea8d6989db56f064bc0.tar.bz2 portage-83fbf0103256e0fec5095ea8d6989db56f064bc0.zip |
Fix an UnboundLocalError for 'pkgindex'.
svn path=/main/trunk/; revision=9467
-rwxr-xr-x | bin/emaint | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/emaint b/bin/emaint index e0baa138a..b9b7a6676 100755 --- a/bin/emaint +++ b/bin/emaint @@ -170,8 +170,8 @@ class BinhostHandler(object): self._pkgindex_file, wantnewlockfile=1) try: from portage import getbinpkg - del pkgindex - self._pkgindex = getbinpkg.PackageIndex() + pkgindex = getbinpkg.PackageIndex() + self._pkgindex = pkgindex f = open(self._pkgindex_file, 'r') try: self._pkgindex.read(f) |