projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7a6df7e
)
Fix an UnboundLocalError for 'pkgindex'.
author
Zac Medico
<zmedico@gentoo.org>
Sat, 15 Mar 2008 05:28:53 +0000
(
05:28
-0000)
committer
Zac Medico
<zmedico@gentoo.org>
Sat, 15 Mar 2008 05:28:53 +0000
(
05:28
-0000)
svn path=/main/trunk/; revision=9467
bin/emaint
patch
|
blob
|
history
diff --git
a/bin/emaint
b/bin/emaint
index e0baa138aa989c2a389f4963542498c5ee6393ae..b9b7a6676c8b23a48b5d8231dff2355418ac39d2 100755
(executable)
--- 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)