summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordberg.se>2015-04-25 07:58:38 +0200
committerLinus Nordberg <linus@nordberg.se>2015-04-25 07:58:38 +0200
commitca8cbe163492f7fcb321d22d7e3700d8f0646d99 (patch)
tree5f56a814d453e003990a5a83dd6d4d9c0162e94a /tools
parent7e5b3e3c920a3bffda5e8f2fe5daf656c67ce16e (diff)
[tools] Require precerttools to be imported successfully.
submitcert.py would fail mysteriously when finding a precert and python-pyasn1 wasn't installed.
Diffstat (limited to 'tools')
-rwxr-xr-xtools/submitcert.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/tools/submitcert.py b/tools/submitcert.py
index 663dd50..3b14912 100755
--- a/tools/submitcert.py
+++ b/tools/submitcert.py
@@ -14,10 +14,7 @@ import hashlib
import itertools
from certtools import *
from certtools import *
-try:
- from precerttools import *
-except ImportError:
- pass
+from precerttools import *
import os
import signal
import select