From: Mark Huang Date: Wed, 18 Oct 2006 22:06:24 +0000 (+0000) Subject: - key no longer has person_id X-Git-Tag: pycurl-7_13_1~531 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=f1db8473f452f38d98f7c3aa3b198004a0aaffda;p=plcapi.git - key no longer has person_id --- diff --git a/PLC/Methods/DeleteKey.py b/PLC/Methods/DeleteKey.py index 9a8351e6..fdd7b5f1 100644 --- a/PLC/Methods/DeleteKey.py +++ b/PLC/Methods/DeleteKey.py @@ -32,7 +32,6 @@ class DeleteKey(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 your account" - assert key['person_id'] == self.caller['person_id'] key.delete()