From f80beb948bb8914df922e85ef20d9152ca47b527 Mon Sep 17 00:00:00 2001 From: Jason Gerard DeRose Date: Fri, 24 Oct 2008 15:07:07 -0600 Subject: Added ipalib/constants.py; added Env._load_config() method along with comprehensive unit tests for same --- ipalib/constants.py | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 ipalib/constants.py (limited to 'ipalib/constants.py') diff --git a/ipalib/constants.py b/ipalib/constants.py new file mode 100644 index 00000000..d817fda4 --- /dev/null +++ b/ipalib/constants.py @@ -0,0 +1,25 @@ +# Authors: +# Jason Gerard DeRose +# +# 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' -- cgit