projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5804157
)
Handle IOError when trying to cache the Packages file from the binhost.
author
Zac Medico
<zmedico@gentoo.org>
Fri, 9 Apr 2010 19:57:27 +0000
(12:57 -0700)
committer
Zac Medico
<zmedico@gentoo.org>
Fri, 9 Apr 2010 19:57:27 +0000
(12:57 -0700)
pym/portage/dbapi/bintree.py
patch
|
blob
|
history
diff --git
a/pym/portage/dbapi/bintree.py
b/pym/portage/dbapi/bintree.py
index 7e05f0869e6120581d611a32868a42f19f02e76d..caa17699f07994e97622f77d4b864dac8d109570 100644
(file)
--- a/
pym/portage/dbapi/bintree.py
+++ b/
pym/portage/dbapi/bintree.py
@@
-774,7
+774,7
@@
class binarytree(object):
f = atomic_ofstream(pkgindex_file)
pkgindex.write(f)
f.close()
- except
PortageException
:
+ except
(IOError, PortageException)
:
if os.access(os.path.dirname(pkgindex_file), os.W_OK):
raise
# The current user doesn't have permission to cache the