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