Browse Source

implement DEL in CALookup API

failed_true
Edoardo Putti 8 years ago
parent
commit
d62309ccba
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      ca_manager.py

+ 2
- 0
ca_manager.py View File

@ -195,6 +195,8 @@ class CALookup(object):
""" """
Delete a specific certification authority from the database 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): def __getitem__(self, ca_id):
""" """


Loading…
Cancel
Save