From: olivier Date: Thu, 9 Jul 2009 10:22:16 +0000 (+0000) Subject: improtve dates:items log output X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=226ad4db65c24fb3b8313276c81933b0d969c31e;p=telemeta-data.git improtve dates:items log output git-svn-id: http://svn.parisson.org/svn/crem@122 3bf09e05-f825-4182-b9bc-eedd7160adf0 --- diff --git a/trunk/import/migration/tasks/dates.py b/trunk/import/migration/tasks/dates.py index 16e684c..fd0b96a 100644 --- a/trunk/import/migration/tasks/dates.py +++ b/trunk/import/migration/tasks/dates.py @@ -298,7 +298,7 @@ class ItemsDateConverter(DataMigrator): else: self.stats['nosuchitem'] += 1 else: - self.warn("incoherent date (%s): %s -- %s" % (old_code, str(data), str(row))) + self.warn("incoherent date (%s): DatesEnregistr=\"%s\", Annee_Enreg=\"%s\" ; analysis: %s" % (old_code, date_str, year_str, str(data))) self.stats['incoherent'] += 1 else: