Skip to content
Snippets Groups Projects
Commit 184f6f08 authored by Thomas Woerner's avatar Thomas Woerner
Browse files

iipaclient: RawConfigParser is not always provided by six.moves.configparser

six.moves.configparser does not always provide RawConfigParser.
parent aff6d900
No related branches found
No related tags found
No related merge requests found
......@@ -4,7 +4,10 @@
import os
import re
import six
try:
from six.moves.configparser import RawConfigParser
except ImportError:
from ConfigParser import RawConfigParser
from ansible.module_utils.basic import AnsibleModule
......
......@@ -192,7 +192,11 @@ import os
import socket
import inspect
try:
from six.moves.configparser import RawConfigParser
except ImportError:
from ConfigParser import RawConfigParser
from ansible.module_utils.basic import AnsibleModule
from ansible.module_utils.ansible_ipa_client import (
paths, sysrestore, options, CheckedIPAddress, validate_domain_name,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment