diff options
author | Jan Cholasta <jcholast@redhat.com> | 2016-08-24 13:36:12 +0200 |
---|---|---|
committer | David Kupka <dkupka@redhat.com> | 2016-10-24 14:11:08 +0200 |
commit | 9b534238157e003d2d7c3e1a7fd27531ab1dfd25 (patch) | |
tree | e51358355aa0ff725d939e55a54dd33befef2a25 /makeaci | |
parent | 0b91735c79a0ba577f9540e946180760a97913a4 (diff) | |
download | freeipa-9b534238157e003d2d7c3e1a7fd27531ab1dfd25.tar.gz freeipa-9b534238157e003d2d7c3e1a7fd27531ab1dfd25.tar.xz freeipa-9b534238157e003d2d7c3e1a7fd27531ab1dfd25.zip |
makeapi, makeaci: do not fail on missing imports
Add import hook to makeapi and makeaci which makes them ignore import
errors in modules in our source tree and instead print a warning.
This makes it possible to build IPA without having to have most of our
runtime dependencies installed.
https://fedorahosted.org/freeipa/ticket/6418
Reviewed-By: Petr Spacek <pspacek@redhat.com>
Reviewed-By: Martin Basti <mbasti@redhat.com>
Diffstat (limited to 'makeaci')
-rwxr-xr-x | makeaci | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -30,6 +30,8 @@ import sys import difflib from argparse import ArgumentParser +import ignore_import_errors # pylint: disable=unused-import + from ipalib import api from ipapython.dn import DN from ipapython.ipaldap import LDAPClient |