This website works better with JavaScript.
Home
Help
Sign In
LILiK
/
ca_manager
Watch
5
Star
0
Fork
0
Code
Issues
0
Pull Requests
2
Releases
0
Wiki
Activity
Browse Source
implement DEL in CALookup API
failed_true
Edoardo Putti
8 years ago
parent
a546e8bf44
commit
d62309ccba
1 changed files
with
2 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+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
"""
c
=
self
.
conn
.
cursor
(
)
c
.
execute
(
"""
DELETE FROM cas WHERE id = ?
"""
,
(
ca_id
,
)
)
def
__getitem__
(
self
,
ca_id
)
:
"""
Write
Preview
Loading…
Cancel
Save