projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f45516f
)
Fix size comparison logic.
author
Zac Medico
<zmedico@gentoo.org>
Tue, 22 May 2007 11:22:36 +0000
(11:22 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Tue, 22 May 2007 11:22:36 +0000
(11:22 -0000)
svn path=/main/trunk/; revision=6570
pym/portage/dbapi/bintree.py
patch
|
blob
|
history
diff --git
a/pym/portage/dbapi/bintree.py
b/pym/portage/dbapi/bintree.py
index d15f00b8b40a52e5289e07e8edf2a5086c7c6c35..9d9b8400500bccbda2f9eefaee7b9d7589e5acde 100644
(file)
--- a/
pym/portage/dbapi/bintree.py
+++ b/
pym/portage/dbapi/bintree.py
@@
-476,9
+476,9
@@
class binarytree(object):
d.clear()
if d:
try:
- if long(d
.get("SIZE")
) != long(s.st_size):
+ if long(d
["SIZE"]
) != long(s.st_size):
d.clear()
- except
ValueError
:
+ except
(KeyError, ValueError)
:
d.clear()
d["CPV"] = mycpv