2007-08-28 09:44:43 -05:00
|
|
|
#
|
2008-02-04 14:15:52 -06:00
|
|
|
# ipachangeconf - configuration file manipulation classes and functions
|
2007-08-28 09:44:43 -05:00
|
|
|
# partially based on authconfig code
|
|
|
|
# Copyright (c) 1999-2007 Red Hat, Inc.
|
|
|
|
# Author: Simo Sorce <ssorce@redhat.com>
|
|
|
|
#
|
2010-12-09 06:59:11 -06:00
|
|
|
# This program 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.
|
2007-08-28 09:44:43 -05:00
|
|
|
#
|
2010-12-09 06:59:11 -06:00
|
|
|
# This program 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.
|
2007-08-28 09:44:43 -05:00
|
|
|
#
|
|
|
|
# You should have received a copy of the GNU General Public License
|
2010-12-09 06:59:11 -06:00
|
|
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
2007-08-28 09:44:43 -05:00
|
|
|
#
|
|
|
|
|
2019-08-16 13:10:05 -05:00
|
|
|
import warnings
|
|
|
|
from ipapython.ipachangeconf import IPAChangeConf as realIPAChangeConf
|
2007-08-28 09:44:43 -05:00
|
|
|
|
2015-09-11 06:43:28 -05:00
|
|
|
|
2019-08-16 13:10:05 -05:00
|
|
|
class IPAChangeConf(realIPAChangeConf):
|
|
|
|
"""Advertise the old name"""
|
2012-09-27 05:40:55 -05:00
|
|
|
|
2007-08-28 09:44:43 -05:00
|
|
|
def __init__(self, name):
|
2019-08-16 13:10:05 -05:00
|
|
|
"""something"""
|
|
|
|
warnings.warn(
|
|
|
|
"Use 'ipapython.ipachangeconf.IPAChangeConfg'",
|
|
|
|
DeprecationWarning,
|
|
|
|
stacklevel=2
|
|
|
|
)
|
|
|
|
super(IPAChangeConf, self).__init__(name)
|