feeder: fix mismatch between insertion of generic evolutions and evolutions (#13028)

This commit is contained in:
Benjamin Dauvergne 2016-11-12 10:56:59 +01:00
parent a38f52b5fd
commit c3e14387b6
1 changed files with 1 additions and 1 deletions

View File

@ -679,7 +679,7 @@ class WcsFormdefFeeder(object):
evolutions.append(tuple(row))
self.ex('INSERT INTO {evolution_table} (%s) VALUES %s' % (
', '.join(['formdata_id', 'status_id', 'time', 'date', 'hour_id']),
', '.join(['%s'] * len(generic_evolutions))), vars=generic_evolutions)
', '.join(['%s'] * len(evolutions))), vars=evolutions)
def get_first_agent_in_evolution(self, formdata):
for evo in formdata.evolution: