projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e73b7aa
)
Use float mtime instead of int for finer granularity in vardbapi.match()
author
Zac Medico
<zmedico@gentoo.org>
Tue, 3 Jun 2008 05:41:32 +0000
(
05:41
-0000)
committer
Zac Medico
<zmedico@gentoo.org>
Tue, 3 Jun 2008 05:41:32 +0000
(
05:41
-0000)
cache staleness checks.
svn path=/main/trunk/; revision=10550
pym/portage/dbapi/vartree.py
patch
|
blob
|
history
diff --git
a/pym/portage/dbapi/vartree.py
b/pym/portage/dbapi/vartree.py
index c2503eb42a192336f087098ff926ab3d31176ee4..48cd0c731debe90dd7edc1dd1189ce2718b04f4c 100644
(file)
--- a/
pym/portage/dbapi/vartree.py
+++ b/
pym/portage/dbapi/vartree.py
@@
-534,7
+534,7
@@
class vardbapi(dbapi):
return list(self._iter_match(mydep,
self.cp_list(mydep.cp, use_cache=use_cache)))
try:
- curmtime = os.stat(self.root+VDB_PATH+"/"+mycat)
[stat.ST_MTIME]
+ curmtime = os.stat(self.root+VDB_PATH+"/"+mycat)
.st_mtime
except (IOError, OSError):
curmtime=0