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
draft for authority getter
master
Edoardo Putti
8 years ago
parent
fcef9b49bb
commit
e3f608a229
1 changed files
with
7 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+7
-0
lookup.py
+ 7
- 0
lookup.py
View File
@ -38,9 +38,16 @@ class CALookup(object):
def
__getitem__
(
self
,
ca_id
)
:
if
SSHAuthority
(
ca_id
)
:
return
SSHAuthority
(
ca_id
)
elif
SSLAuthority
(
ca_id
)
:
return
SSLAuthority
(
ca_id
)
else
:
raise
IndexError
(
'
Unknown CA
"
%s
"
'
%
ca_id
)
"""
"""
Write
Preview
Loading…
Cancel
Save