summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/_emerge/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/_emerge/__init__.py b/pym/_emerge/__init__.py
index fa966f3f5..7306d4215 100644
--- a/pym/_emerge/__init__.py
+++ b/pym/_emerge/__init__.py
@@ -1566,7 +1566,7 @@ class _PackageMetadataWrapper(_PackageMetadataWrapperBase):
def _set__mtime_(self, k, v):
if isinstance(v, basestring):
try:
- v = float(v.strip())
+ v = long(v.strip())
except ValueError:
v = 0
self._pkg.mtime = v