From ca8cbe163492f7fcb321d22d7e3700d8f0646d99 Mon Sep 17 00:00:00 2001 From: Linus Nordberg Date: Sat, 25 Apr 2015 07:58:38 +0200 Subject: [tools] Require precerttools to be imported successfully. submitcert.py would fail mysteriously when finding a precert and python-pyasn1 wasn't installed. --- README.md | 3 +++ tools/submitcert.py | 5 +---- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 4aaca34..01b9148 100644 --- a/README.md +++ b/README.md @@ -24,6 +24,9 @@ command line, or install rebar yourself. In order to perform merge operations, the following software packages are needed: python-ecdsa, python-yaml. +In order to use the tools for submitting certificates, the following +software package is needed: python-pyasn1. + # Compile $ make 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 -- cgit v1.1