# HG changeset patch # User Lennard de Rijk # Date 1254422275 -7200 # Node ID d933a6da5eefdacec57c4afd45b90b073ba43c61 # Parent 9c34768346da5e64b11630ef4485f012bd922e42 Only store all the entities once in the ModuleConversion, after the for loop. diff -r 9c34768346da -r d933a6da5eef app/soc/tasks/updates/module_conversion.py --- a/app/soc/tasks/updates/module_conversion.py Thu Oct 01 20:36:57 2009 +0200 +++ b/app/soc/tasks/updates/module_conversion.py Thu Oct 01 20:37:55 2009 +0200 @@ -87,8 +87,8 @@ **gsoc_properties) gsoc_programs.append(gsoc_program_entity) - # store all the new GSoCPrograms - db.put(gsoc_programs) + # store all the new GSoCPrograms + db.put(gsoc_programs) # task completed, return return @@ -132,8 +132,8 @@ **gsoc_properties) gsoc_orgs.append(gsoc_org_entity) - # store all the new GSoCOrganizations - db.put(gsoc_orgs) + # store all the new GSoCOrganizations + db.put(gsoc_orgs) # task completed, return return