From: Thierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Date: Fri, 9 Feb 2007 21:48:43 +0000 (+0000)
Subject: filters out PLC_ROOT_USER as well
X-Git-Tag: PLCAPI-4.2-0~193
X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=b71cb07ff7f19a9e6446b9665bd6e65db45f4bd3;p=plcapi.git

filters out PLC_ROOT_USER as well
---

diff --git a/PLC/Methods/GetPeerData.py b/PLC/Methods/GetPeerData.py
index 696aca1e..d55ecb58 100644
--- a/PLC/Methods/GetPeerData.py
+++ b/PLC/Methods/GetPeerData.py
@@ -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