mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-29 10:21:18 -06:00
Skip empty lines when parsing pk12util output.
This commit is contained in:
parent
1e772b1845
commit
2ccadf4726
@ -224,7 +224,7 @@ class NSSDatabase(object):
|
|||||||
state = 1
|
state = 1
|
||||||
if line == "Certificate:":
|
if line == "Certificate:":
|
||||||
state = 2
|
state = 2
|
||||||
elif not line.startswith(' '):
|
elif line and not line.startswith(' '):
|
||||||
# Top-level item that is not a certificate
|
# Top-level item that is not a certificate
|
||||||
state = 1
|
state = 1
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user