summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/_emerge/__init__.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pym/_emerge/__init__.py b/pym/_emerge/__init__.py
index c5254a2ab..cb8078f5d 100644
--- a/pym/_emerge/__init__.py
+++ b/pym/_emerge/__init__.py
@@ -3535,12 +3535,12 @@ class BinpkgFetcher(SpawnProcess):
remote_mtime = bintree._remotepkgs[self.pkg.cpv].get("MTIME")
if remote_mtime is not None:
try:
- remote_mtime = float(remote_mtime)
+ remote_mtime = long(remote_mtime)
except ValueError:
pass
else:
try:
- local_mtime = os.stat(self.pkg_path).st_mtime
+ local_mtime = long(os.stat(self.pkg_path).st_mtime)
except OSError:
pass
else: