From d62309ccbaf272587d114c845c0470a32616658a Mon Sep 17 00:00:00 2001 From: Edoardo Putti Date: Fri, 23 Sep 2016 16:02:36 +0200 Subject: [PATCH] implement DEL in CALookup API --- ca_manager.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ca_manager.py b/ca_manager.py index 7f49e36..f4522ce 100755 --- a/ca_manager.py +++ b/ca_manager.py @@ -195,6 +195,8 @@ class CALookup(object): """ Delete a specific certification authority from the database """ + c = self.conn.cursor() + c.execute("""DELETE FROM cas WHERE id = ?""", (ca_id, )) def __getitem__(self, ca_id): """