Fixes https://fedorahosted.org/freeipa/ticket/5561

--
Martin^3 Babinsky
From db5be916722af67b6d0c472cd8737011956651dd Mon Sep 17 00:00:00 2001
From: Martin Babinsky <mbabi...@redhat.com>
Date: Mon, 4 Jan 2016 15:56:07 +0100
Subject: [PATCH] ipalib/x509.py: revert deletion of ipalib api import

This import statement has been removed in commit
e4075b1fe26a608cd1f3778ee1f655a5f5700c65. This caused requests for service
certs to fail, since the validation functions from x509 module crashed with
NameError.

https://fedorahosted.org/freeipa/ticket/5561
---
 ipalib/x509.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/ipalib/x509.py b/ipalib/x509.py
index 237c002c22c97f97cae4e6759c274e7f964f57ee..886bf6af61c10b298e71ba1c605e8a3e7897611f 100644
--- a/ipalib/x509.py
+++ b/ipalib/x509.py
@@ -44,6 +44,7 @@ from pyasn1.type import univ, namedtype, tag
 from pyasn1.codec.der import decoder, encoder
 import six
 
+from ipalib import api
 from ipalib import _
 from ipalib import util
 from ipalib import errors
-- 
2.5.0

-- 
Manage your subscription for the Freeipa-devel mailing list:
https://www.redhat.com/mailman/listinfo/freeipa-devel
Contribute to FreeIPA: http://www.freeipa.org/page/Contribute/Code

Reply via email to