projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
34c0a3e
)
Skip unecessary stat calls on PORTAGE_RO_DISTDIRS in
author
Zac Medico
<zmedico@gentoo.org>
Mon, 19 Jul 2010 05:45:45 +0000
(22:45 -0700)
committer
Zac Medico
<zmedico@gentoo.org>
Mon, 19 Jul 2010 05:45:45 +0000
(22:45 -0700)
portdbapi.getfetchsizes().
pym/portage/dbapi/porttree.py
patch
|
blob
|
history
diff --git
a/pym/portage/dbapi/porttree.py
b/pym/portage/dbapi/porttree.py
index 07a7b0c626a8aa7a187635640aca90b8cd536c4a..9c67c7884c541faa923daa0c5d4bc17d7a3610d4 100644
(file)
--- a/
pym/portage/dbapi/porttree.py
+++ b/
pym/portage/dbapi/porttree.py
@@
-786,8
+786,7
@@
class portdbapi(dbapi):
filesdict={}
myfiles = self.getFetchMap(mypkg, useflags=useflags)
ro_distdirs = [x for x in \
- shlex_split(self.settings.get("PORTAGE_RO_DISTDIRS", "")) \
- if os.path.isdir(x)]
+ shlex_split(self.settings.get("PORTAGE_RO_DISTDIRS", ""))]
#XXX: maybe this should be improved: take partial downloads
# into account? check checksums?
for myfile in myfiles: