filters out PLC_ROOT_USER as well
authorThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Fri, 9 Feb 2007 21:48:43 +0000 (21:48 +0000)
committerThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Fri, 9 Feb 2007 21:48:43 +0000 (21:48 +0000)
PLC/Methods/GetPeerData.py

index 696aca1..d55ecb5 100644 (file)
@@ -57,7 +57,8 @@ class GetPeerData(Method):
         # necessary for slice creation on the calling peer's nodes.
 
        # filter out special person
-       persons = Persons(self.api, {'~email':self.api.config.PLC_API_MAINTENANCE_USER,
+       persons = Persons(self.api, {'~email':[self.api.config.PLC_API_MAINTENANCE_USER,
+                                              self.api.config.PLC_ROOT_USER],
                                     'peer_id': None}, person_fields)
 
        # filter out system slices