summaryrefslogtreecommitdiffstats
path: root/ipalib/__init__.py
diff options
context:
space:
mode:
authorJan Cholasta <jcholast@redhat.com>2016-06-02 15:58:43 +0200
committerJan Cholasta <jcholast@redhat.com>2016-06-03 09:00:34 +0200
commit3cf5f83d92a2c315eb8a0dd2ed06cd1d61df5d36 (patch)
tree35d9b5235752fca82159e5e12d99d75225c15b3b /ipalib/__init__.py
parent0e989e2a28fb8093528176574ffd2ae2ecac4c14 (diff)
downloadfreeipa-3cf5f83d92a2c315eb8a0dd2ed06cd1d61df5d36.tar.gz
freeipa-3cf5f83d92a2c315eb8a0dd2ed06cd1d61df5d36.tar.xz
freeipa-3cf5f83d92a2c315eb8a0dd2ed06cd1d61df5d36.zip
ipalib: replace DeprecatedParam with `deprecated` Param argument
Introduce new `deprecated` Param keywork argument. Setting it to True on a param has the same effect as using DeprecatedParam. This allows deprecating params while retaining their type information. Revert all DeprecatedParam params back to their original definition and set `deprecated` to True. Remove the now unused DeprecatedParam class. https://fedorahosted.org/freeipa/ticket/4739 Reviewed-By: David Kupka <dkupka@redhat.com>
Diffstat (limited to 'ipalib/__init__.py')
-rw-r--r--ipalib/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ipalib/__init__.py b/ipalib/__init__.py
index a6768a843..030a4f7d2 100644
--- a/ipalib/__init__.py
+++ b/ipalib/__init__.py
@@ -887,7 +887,7 @@ from ipalib.backend import Backend
from ipalib.frontend import Command, LocalOrRemote, Updater
from ipalib.frontend import Object, Method
from ipalib.crud import Create, Retrieve, Update, Delete, Search
-from ipalib.parameters import DefaultFrom, Bool, Flag, Int, Decimal, Bytes, Str, IA5Str, Password, DNParam, DeprecatedParam
+from ipalib.parameters import DefaultFrom, Bool, Flag, Int, Decimal, Bytes, Str, IA5Str, Password, DNParam
from ipalib.parameters import (BytesEnum, StrEnum, IntEnum, AccessTime, File,
DateTime, DNSNameParam)
from ipalib.errors import SkipPluginModule