From 2ccadf4726d580d12043070180c3c85b58b5db44 Mon Sep 17 00:00:00 2001 From: Jan Cholasta Date: Wed, 5 Jun 2013 14:50:38 +0200 Subject: Skip empty lines when parsing pk12util output. --- ipaserver/install/certs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ipaserver/install/certs.py b/ipaserver/install/certs.py index 643cbda30..06925d53b 100644 --- a/ipaserver/install/certs.py +++ b/ipaserver/install/certs.py @@ -224,7 +224,7 @@ class NSSDatabase(object): state = 1 if line == "Certificate:": state = 2 - elif not line.startswith(' '): + elif line and not line.startswith(' '): # Top-level item that is not a certificate state = 1 -- cgit