From f1db8473f452f38d98f7c3aa3b198004a0aaffda Mon Sep 17 00:00:00 2001 From: Mark Huang Date: Wed, 18 Oct 2006 22:06:24 +0000 Subject: [PATCH] - key no longer has person_id --- PLC/Methods/DeleteKey.py | 1 - 1 file changed, 1 deletion(-) 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() -- 2.47.0