summaryrefslogtreecommitdiffstats
path: root/bin/emerge
diff options
context:
space:
mode:
Diffstat (limited to 'bin/emerge')
-rwxr-xr-xbin/emerge4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/emerge b/bin/emerge
index afd107080..bf980104b 100755
--- a/bin/emerge
+++ b/bin/emerge
@@ -2479,7 +2479,7 @@ def chk_updated_info_files(root, infodirs, prev_mtimes, retval):
continue
inforoot=normpath(root+z)
if os.path.isdir(inforoot):
- infomtime = os.stat(inforoot).st_mtime
+ infomtime = long(os.stat(inforoot).st_mtime)
if inforoot not in prev_mtimes or \
prev_mtimes[inforoot] != infomtime:
regen_infodirs.append(inforoot)
@@ -2526,7 +2526,7 @@ def chk_updated_info_files(root, infodirs, prev_mtimes, retval):
icount=icount+1
#update mtime so we can potentially avoid regenerating.
- prev_mtimes[inforoot] = os.stat(inforoot).st_mtime
+ prev_mtimes[inforoot] = long(os.stat(inforoot).st_mtime)
if badcount:
print " "+yellow("*")+" Processed",icount,"info files;",badcount,"errors."