From 13371e08b4e3e9f78decbbd17a4195351a9e2125 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Thu, 25 Dec 2008 05:05:25 +0000 Subject: Make vardbapi._aux_get() return _mtime_ as a long (never as a float). (trunk r12331) svn path=/main/branches/2.1.6/; revision=12337 --- pym/portage/dbapi/vartree.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pym/portage/dbapi/vartree.py b/pym/portage/dbapi/vartree.py index c8a4870e1..3d8e9d6cb 100644 --- a/pym/portage/dbapi/vartree.py +++ b/pym/portage/dbapi/vartree.py @@ -521,7 +521,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") -- cgit v1.2.3-1-g7c22