From: Zac Medico Date: Thu, 25 Dec 2008 04:50:49 +0000 (-0000) Subject: Make vardbapi._aux_get() return _mtime_ as a long (never as a float). X-Git-Tag: v2.2_rc19~3 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=d86de183d73592de8e22968d4b793cd3dcd0848a;p=portage.git Make vardbapi._aux_get() return _mtime_ as a long (never as a float). svn path=/main/trunk/; revision=12331 --- 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")