2017-04-26 22:09:36 +00:00
|
|
|
# (c) 2017, Toshio Kuratomi <tkuratomi@ansible.com>
|
2015-09-03 22:08:34 +00:00
|
|
|
#
|
2017-04-26 22:09:36 +00:00
|
|
|
# This file is part of Ansible
|
2015-09-03 22:08:34 +00:00
|
|
|
#
|
2017-04-26 22:09:36 +00:00
|
|
|
# Ansible is free software: you can redistribute it and/or modify
|
|
|
|
# it under the terms of the GNU General Public License as published by
|
|
|
|
# the Free Software Foundation, either version 3 of the License, or
|
|
|
|
# (at your option) any later version.
|
2015-09-03 22:08:34 +00:00
|
|
|
#
|
2017-04-26 22:09:36 +00:00
|
|
|
# Ansible is distributed in the hope that it will be useful,
|
|
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
# GNU General Public License for more details.
|
2015-09-03 22:08:34 +00:00
|
|
|
#
|
2017-04-26 22:09:36 +00:00
|
|
|
# You should have received a copy of the GNU General Public License
|
|
|
|
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
|
2015-09-03 22:08:34 +00:00
|
|
|
|
2017-04-26 22:09:36 +00:00
|
|
|
# Make coding more python3-ish
|
2015-10-20 01:36:19 +00:00
|
|
|
from __future__ import (absolute_import, division, print_function)
|
|
|
|
__metaclass__ = type
|
|
|
|
|
2017-04-26 22:09:36 +00:00
|
|
|
# This is backwards compat. unsafe_proxy was moved to avoid circular imports.
|
2018-02-06 23:17:49 +00:00
|
|
|
from ansible.utils.unsafe_proxy import * # pylint: disable=wildcard-import,unused-wildcard-import
|
2015-09-25 18:54:20 +00:00
|
|
|
|
2017-04-26 22:09:36 +00:00
|
|
|
try:
|
|
|
|
from __main__ import display
|
|
|
|
except:
|
|
|
|
from ansible.utils.display import Display
|
|
|
|
display = Display()
|
2015-10-13 06:41:08 +00:00
|
|
|
|
2017-04-26 22:09:36 +00:00
|
|
|
display.deprecated('ansible.vars.unsafe_proxy is deprecated. Use ansible.utils.unsafe_proxy instead.', version='2.8')
|