summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2008-12-25 04:50:49 +0000
committerZac Medico <zmedico@gentoo.org>2008-12-25 04:50:49 +0000
commitd86de183d73592de8e22968d4b793cd3dcd0848a (patch)
tree4d63b9364ca6068b6e2673f0389ae64d0c9357a4
parent8d274910f26b05d62851fa79d0eb144a04ec1c17 (diff)
downloadportage-d86de183d73592de8e22968d4b793cd3dcd0848a.tar.gz
portage-d86de183d73592de8e22968d4b793cd3dcd0848a.tar.bz2
portage-d86de183d73592de8e22968d4b793cd3dcd0848a.zip
Make vardbapi._aux_get() return _mtime_ as a long (never as a float).
svn path=/main/trunk/; revision=12331
-rw-r--r--pym/portage/dbapi/vartree.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/portage/dbapi/vartree.py b/pym/portage/dbapi/vartree.py
index 8b0fb5f4b..6bff93d3f 100644
--- a/pym/portage/dbapi/vartree.py
+++ b/pym/portage/dbapi/vartree.py
@@ -1176,7 +1176,7 @@ class vardbapi(dbapi):
results = []
for x in wants:
if x == "_mtime_":
- results.append(st.st_mtime)
+ results.append(long(st.st_mtime))
continue
try:
myf = open(os.path.join(mydir, x), "r")