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
raise IndexError instead of ValueError in RequestLookup
master
Edoardo Putti
8 years ago
parent
1c4808f13a
commit
5a81de5e6a
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
lookup.py
+ 1
- 1
lookup.py
View File
@ -54,7 +54,7 @@ class CALookup(object):
result
=
c
.
fetchone
(
)
if
not
result
:
raise
Value
Error
(
'
Unknown CA
"
%s
"
'
%
ca_id
)
raise
Index
Error
(
'
Unknown CA
"
%s
"
'
%
ca_id
)
ca_name
,
ca_type
=
result
Write
Preview
Loading…
Cancel
Save