[importers] Imagen require age in days, not years
authorDimitri Papadopoulos <dimitri.papadopoulos@cea.fr>
Mon, 22 Jul 2013 16:04:53 +0200
changeset 359 c1deb7cf862c
parent 358 d60ca87c2f56
child 360 2b09541ca6a6
[importers] Imagen require age in days, not years
importers/imagen.py
--- a/importers/imagen.py	Mon Jul 22 15:27:24 2013 +0200
+++ b/importers/imagen.py	Mon Jul 22 16:04:53 2013 +0200
@@ -1033,8 +1033,6 @@
             logger.warn('{0}: {1}'.format(tree.docinfo.URL, message))
         # "subject age" is the mean of all ages
         age = sum(ages) / len(ages)
-        # XXX age is in day ?
-        age = int(age/365)
     else:
         age=None
     # Create entity