- re-enable return_fields specification
[plcapi.git] / PLC / Methods / AdmGetPersonRoles.py
index 2a862aa..024b93c 100644 (file)
@@ -39,7 +39,7 @@ class AdmGetPersonRoles(Method):
         if not persons:
             raise PLCInvalidArgument, "No such account"
 
-        person = persons.values()[0]
+        person = persons[0]
 
         # Authenticated function
         assert self.caller is not None