summaryrefslogtreecommitdiffstats
path: root/ipalib/constants.py
diff options
context:
space:
mode:
authorJason Gerard DeRose <jderose@redhat.com>2008-12-10 21:14:05 -0700
committerJason Gerard DeRose <jderose@redhat.com>2008-12-10 21:14:05 -0700
commit22209a0f0333526fe953a66f6ea4dd1be18dddc6 (patch)
tree419cdba947338a16767fca991e1b5e32740cc3ce /ipalib/constants.py
parenta3ab787d23331cf4d060d8463ca66ff602f3629b (diff)
downloadfreeipa-22209a0f0333526fe953a66f6ea4dd1be18dddc6.tar.gz
freeipa-22209a0f0333526fe953a66f6ea4dd1be18dddc6.tar.xz
freeipa-22209a0f0333526fe953a66f6ea4dd1be18dddc6.zip
Started roughing out the consolidated type/parameter system in parameters.py; started corresponding unit tests
Diffstat (limited to 'ipalib/constants.py')
-rw-r--r--ipalib/constants.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/ipalib/constants.py b/ipalib/constants.py
index 7e562b530..06ff99d5e 100644
--- a/ipalib/constants.py
+++ b/ipalib/constants.py
@@ -19,9 +19,13 @@
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
"""
-All constants centralized in one file.
+All constants centralised in one file.
"""
+# The parameter system treats all these values as None:
+NULLS = (None, '', u'', tuple(), [])
+
+
# Used for a tab (or indentation level) when formatting for CLI:
CLI_TAB = ' ' # Two spaces