summaryrefslogtreecommitdiff
path: root/tools/certtools.py
diff options
context:
space:
mode:
authorMagnus Ahltorp <map@kth.se>2014-09-24 12:47:19 +0200
committerMagnus Ahltorp <map@kth.se>2014-09-24 12:47:19 +0200
commit7f2bbc306f773c3b6d866c287893d46c9ce52233 (patch)
tree7d6bb68202e57981583bff223c6c7fa012b9494e /tools/certtools.py
parentd8ae32fbd31b1f2239cc22b6a0cd0098329a0fa7 (diff)
Fixed long line and whitespacetesttools2
Diffstat (limited to 'tools/certtools.py')
-rw-r--r--tools/certtools.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/certtools.py b/tools/certtools.py
index 0a482e3..48e7b41 100644
--- a/tools/certtools.py
+++ b/tools/certtools.py
@@ -25,7 +25,7 @@ def get_certs_from_file(certfile):
certs = []
cert = ""
incert = False
-
+
for line in open(certfile):
line = line.strip()
if line == "-----BEGIN CERTIFICATE-----":
@@ -41,7 +41,7 @@ def get_certs_from_file(certfile):
def get_root_cert(issuer):
accepted_certs = \
json.loads(open("googlelog-accepted-certs.txt").read())["certificates"]
-
+
root_cert = None
for accepted_cert in accepted_certs: