From: Mark Huang Date: Tue, 17 Oct 2006 04:25:59 +0000 (+0000) Subject: - key no longer has person_id field X-Git-Tag: pycurl-7_13_1~546 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=35e3fb10fe3bc63ec38c81e6ac0790b07efb91ea;p=plcapi.git - key no longer has person_id field --- diff --git a/PLC/Methods/UpdateKey.py b/PLC/Methods/UpdateKey.py index 97490c2f..35279084 100644 --- a/PLC/Methods/UpdateKey.py +++ b/PLC/Methods/UpdateKey.py @@ -41,7 +41,6 @@ class UpdateKey(Method): if 'admin' not in self.caller['roles']: if key['key_id'] not in self.caller['key_ids']: raise PLCPermissionDenied, "Key must be associated with one of your accounts" - assert key['person_id'] == self.caller['person_id'] key.update(key_fields) key.sync()