projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d86de18
)
Use long() instead of float() when parsing Package.mtime from the metadata.
author
Zac Medico
<zmedico@gentoo.org>
Thu, 25 Dec 2008 04:52:59 +0000
(
04:52
-0000)
committer
Zac Medico
<zmedico@gentoo.org>
Thu, 25 Dec 2008 04:52:59 +0000
(
04:52
-0000)
svn path=/main/trunk/; revision=12332
pym/_emerge/__init__.py
patch
|
blob
|
history
diff --git
a/pym/_emerge/__init__.py
b/pym/_emerge/__init__.py
index fa966f3f54315c53627af03f0adfaedef9f90bce..7306d4215b14ec4e4b00a18adff840b96efbf781 100644
(file)
--- 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