freeipa/ipalib
Martin Basti beb6a3236d Domain levels: use constants rather than hardcoded values
Added constants for domain levels
DOMAIN_LEVEL_0 = 0
DOMAIN_LEVEL_1 = 1

This allows to search for domain level easier in code.

Reviewed-By: Petr Spacek <pspacek@redhat.com>
Reviewed-By: Tomas Babej <tbabej@redhat.com>
2015-10-27 10:29:41 +01:00
..
plugins trustdomain: Perform validation of the trust domain first 2015-10-26 14:10:53 +01:00
__init__.py Use absolute imports 2015-08-12 18:17:23 +02:00
aci.py ipalib.aci: Port to Python 3 2015-10-13 14:16:32 +02:00
backend.py Replace StandardError with Exception 2015-09-30 10:51:36 +02:00
base.py Modernize use of range() 2015-09-01 11:42:01 +02:00
capabilities.py dns_name_values capability added 2014-06-03 15:55:32 +02:00
certstore.py Modernize 'except' clauses 2015-08-12 18:17:23 +02:00
cli.py Replace StandardError with Exception 2015-09-30 10:51:36 +02:00
config.py Fix more bytes/unicode issues 2015-10-22 18:34:46 +02:00
constants.py Domain levels: use constants rather than hardcoded values 2015-10-27 10:29:41 +01:00
crud.py Use absolute imports 2015-08-12 18:17:23 +02:00
errors.py Add message property to IPA's errors and warnings under Python 3 2015-10-13 14:16:32 +02:00
frontend.py Alias "unicode" to "str" under Python 3 2015-09-17 11:08:43 +02:00
krb_utils.py Rewrap errors in get_principal to CCacheError 2015-09-22 13:29:55 +02:00
messages.py ipalib.messages: Add "message" property to PublicMessage 2015-10-22 18:34:46 +02:00
output.py Remove uses of the types module 2015-10-07 10:27:20 +02:00
parameters.py Handle binascii.Error from base64.b64decode() 2015-10-22 18:34:46 +02:00
pkcs10.py Alias "unicode" to "str" under Python 3 2015-09-17 11:08:43 +02:00
plugable.py Replace StandardError with Exception 2015-09-30 10:51:36 +02:00
request.py Use Python3-compatible dict method names 2015-09-01 11:42:01 +02:00
rpc.py Fix more bytes/unicode issues 2015-10-22 18:34:46 +02:00
session.py Use six.moves.urllib instead of urllib/urllib2/urlparse 2015-10-07 10:27:20 +02:00
text.py Work around ipalib.text (i18n) str/unicode handling 2015-10-22 18:34:46 +02:00
util.py util: Add detect_dns_zone_realm_type helper 2015-10-12 13:34:20 +02:00
x509.py x509: Port to Python 3 2015-10-13 14:16:32 +02:00