summaryrefslogtreecommitdiffstats
path: root/install
diff options
context:
space:
mode:
authorTomas Babej <tbabej@redhat.com>2013-10-09 15:45:49 +0200
committerMartin Kosek <mkosek@redhat.com>2013-10-14 11:11:17 +0200
commited3d184a7d0d4d68afc016e040b6ad057d27fe12 (patch)
tree324e751d9509c4db62ea9828d96329836bb1aaf8 /install
parentd769b124b0aa4b58cccbee2dd04c2bb9063fbae7 (diff)
downloadfreeipa-ed3d184a7d0d4d68afc016e040b6ad057d27fe12.tar.gz
freeipa-ed3d184a7d0d4d68afc016e040b6ad057d27fe12.tar.xz
freeipa-ed3d184a7d0d4d68afc016e040b6ad057d27fe12.zip
adtrustinstance: Move attribute definitions from setup to init method
Majority of the attributes set in the setup method can be set in the __init__ method where they are actually defined (and set to None). This is true for attributes that hold constant values and for attributes that have their values derived from api.env dictionary. Creates a new __setup_default_attributes method, that is called from within __init__ and setup (in case the passed values for hostname or domain do not correspond to that what is set in api.env, doing otherwise could cause unexpected behaviour). Part of: https://fedorahosted.org/freeipa/ticket/3479
Diffstat (limited to 'install')
0 files changed, 0 insertions, 0 deletions