- re-enable return_fields specification
[plcapi.git] / PLC / Methods / AdmGetPersonSites.py
index 1807ef1..79324f8 100644 (file)
@@ -35,7 +35,7 @@ class AdmGetPersonSites(Method):
         if not persons:
             raise PLCInvalidArgument, "No such account"
 
-        person = persons.values()[0]
+        person = persons[0]
 
         # Authenticated function
         assert self.caller is not None