bug-fix
authorAnil-Kumar Vengalil <Anil-Kumar.Vengalil@sophia.inria.fr>
Mon, 5 Oct 2009 15:42:16 +0000 (15:42 +0000)
committerAnil-Kumar Vengalil <Anil-Kumar.Vengalil@sophia.inria.fr>
Mon, 5 Oct 2009 15:42:16 +0000 (15:42 +0000)
sfa/methods/update.py

index 8c307e4..2e97a5b 100644 (file)
@@ -120,6 +120,6 @@ class update(Method):
             raise UnknownGeniType(type)
 
         # update membership for researchers, pis, owners, operators
-        self.api.update_membership(record, record)
+        self.api.update_membership(record, new_record)
 
         return 1