projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fa73d98
)
EOFError is also important according to Zac
author
Alec Warner
<antarus@gentoo.org>
Fri, 12 Jan 2007 04:26:32 +0000
(
04:26
-0000)
committer
Alec Warner
<antarus@gentoo.org>
Fri, 12 Jan 2007 04:26:32 +0000
(
04:26
-0000)
svn path=/main/trunk/; revision=5586
pym/getbinpkg.py
patch
|
blob
|
history
diff --git
a/pym/getbinpkg.py
b/pym/getbinpkg.py
index c4e7e679375ca61e2f6039d1a56a38abac41c5b5..708897d8feac31e5e64c069864bd887263fb6fa8 100644
(file)
--- a/
pym/getbinpkg.py
+++ b/
pym/getbinpkg.py
@@
-433,7
+433,7
@@
def dir_get_metadata(baseurl, conn=None, chunk_size=3000, verbose=1, usingcache=
metadata = cPickle.load(metadatafile)
sys.stderr.write("Loaded metadata pickle.\n")
metadatafile.close()
- except (cPickle.UnpicklingError, OSError, IOError):
+ except (cPickle.UnpicklingError, OSError, IOError
, EOFError
):
metadata = {}
if not metadata.has_key(baseurl):
metadata[baseurl]={}