From: Thierry Parmentelat Date: Sun, 13 May 2012 21:43:26 +0000 (+0200) Subject: missing commits X-Git-Tag: sfa-2.1-7~4 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=d34285d8e393447c36b8a4bc53fc8b096c8b033d;p=sfa.git missing commits --- diff --git a/sfa/managers/registry_manager.py b/sfa/managers/registry_manager.py index 5cc0ca85..e727450d 100644 --- a/sfa/managers/registry_manager.py +++ b/sfa/managers/registry_manager.py @@ -382,10 +382,12 @@ class RegistryManager: if isinstance (record, RegSlice): researcher_hrns = getattr(new_record,'researcher',None) if researcher_hrns is not None: record.update_researchers (researcher_hrns) + dbsession.commit() elif isinstance (record, RegAuthority): pi_hrns = getattr(new_record,'pi',None) if pi_hrns is not None: record.update_pis (pi_hrns) + dbsession.commit() # update the PLC information that was specified with the record if not self.driver.update (record.__dict__, new_record.__dict__, hrn, new_key):