From 22209a0f0333526fe953a66f6ea4dd1be18dddc6 Mon Sep 17 00:00:00 2001 From: Jason Gerard DeRose Date: Wed, 10 Dec 2008 21:14:05 -0700 Subject: Started roughing out the consolidated type/parameter system in parameters.py; started corresponding unit tests --- ipalib/constants.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'ipalib/constants.py') 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 -- cgit