From d34285d8e393447c36b8a4bc53fc8b096c8b033d Mon Sep 17 00:00:00 2001 From: Thierry Parmentelat Date: Sun, 13 May 2012 23:43:26 +0200 Subject: [PATCH] missing commits --- sfa/managers/registry_manager.py | 2 ++ 1 file changed, 2 insertions(+) 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): -- 2.43.0