summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbin/emaint4
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)