summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ipaserver/install/certs.py2
1 files changed, 1 insertions, 1 deletions
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