diff options
author | Jason Gerard DeRose <jderose@redhat.com> | 2008-10-24 15:07:07 -0600 |
---|---|---|
committer | Jason Gerard DeRose <jderose@redhat.com> | 2008-10-24 15:07:07 -0600 |
commit | f80beb948bb8914df922e85ef20d9152ca47b527 (patch) | |
tree | 9dc1b37219987641754100f6e74e659386a08c32 /ipalib/constants.py | |
parent | 2ec0312eb6d4131fe22fab6f4409b71cac83f98f (diff) | |
download | freeipa-f80beb948bb8914df922e85ef20d9152ca47b527.tar.gz freeipa-f80beb948bb8914df922e85ef20d9152ca47b527.tar.xz freeipa-f80beb948bb8914df922e85ef20d9152ca47b527.zip |
Added ipalib/constants.py; added Env._load_config() method along with comprehensive unit tests for same
Diffstat (limited to 'ipalib/constants.py')
-rw-r--r-- | ipalib/constants.py | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/ipalib/constants.py b/ipalib/constants.py new file mode 100644 index 000000000..d817fda45 --- /dev/null +++ b/ipalib/constants.py @@ -0,0 +1,25 @@ +# Authors: +# Jason Gerard DeRose <jderose@redhat.com> +# +# Copyright (C) 2008 Red Hat +# see file 'COPYING' for use and warranty information +# +# 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; version 2 only +# +# 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. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + +""" +Constants centralized in one file. +""" + +# The section read in config files, i.e. [global] +CONFIG_SECTION = 'global' |