equal
deleted
inserted
replaced
85 # create the new GSoCProgram entity and prepare it to be stored |
85 # create the new GSoCProgram entity and prepare it to be stored |
86 gsoc_program_entity = GSoCProgram(key_name=entity.key().name(), |
86 gsoc_program_entity = GSoCProgram(key_name=entity.key().name(), |
87 **gsoc_properties) |
87 **gsoc_properties) |
88 gsoc_programs.append(gsoc_program_entity) |
88 gsoc_programs.append(gsoc_program_entity) |
89 |
89 |
90 # store all the new GSoCPrograms |
90 # store all the new GSoCPrograms |
91 db.put(gsoc_programs) |
91 db.put(gsoc_programs) |
92 |
92 |
93 # task completed, return |
93 # task completed, return |
94 return |
94 return |
95 |
95 |
96 |
96 |
130 # create the new GSoCOrganization entity and prepare it to be stored |
130 # create the new GSoCOrganization entity and prepare it to be stored |
131 gsoc_org_entity = GSoCOrganization(key_name=entity.key().name(), |
131 gsoc_org_entity = GSoCOrganization(key_name=entity.key().name(), |
132 **gsoc_properties) |
132 **gsoc_properties) |
133 gsoc_orgs.append(gsoc_org_entity) |
133 gsoc_orgs.append(gsoc_org_entity) |
134 |
134 |
135 # store all the new GSoCOrganizations |
135 # store all the new GSoCOrganizations |
136 db.put(gsoc_orgs) |
136 db.put(gsoc_orgs) |
137 |
137 |
138 # task completed, return |
138 # task completed, return |
139 return |
139 return |
140 |
140 |
141 |
141 |