on behalf of Jordan Auge - thanks Jordan
Thierry Parmentelat [Thu, 11 Oct 2012 08:20:43 +0000 (10:20 +0200)]
sfa/managers/registry_manager.py
sfa/nitos/nitosslices.py

index 564fb44..e921d6e 100644 (file)
@@ -142,7 +142,7 @@ class RegistryManager:
                 server_proxy = api.server_proxy(interface, credential)
                 # should propagate the details flag but that's not supported in the xmlrpc interface yet
                 #peer_records = server_proxy.Resolve(xrns, credential,type, details=details)
-                peer_records = server_proxy.Resolve(xrns, credential,type)
+                peer_records = server_proxy.Resolve(xrns, credential)
                 # pass foreign records as-is
                 # previous code used to read
                 # records.extend([SfaRecord(dict=record).as_dict() for record in peer_records])
index 077b0d4..6ad0e97 100644 (file)
@@ -188,7 +188,7 @@ class NitosSlices:
 
              if not nitos_users:
                  # create the user
-                 user_id = self.driver.shell.addUsers({'username': email.split('@')[0], 'email': email})
+                 user_id = self.driver.shell.addUser({'username': email.split('@')[0], 'email': email})
                  added_users.append(user_id)
                  # add user keys
                  for key in user['keys']: