# HG changeset patch # User sylvain.thenault@logilab.fr # Date 1233152912 -3600 # Node ID e25a3c2f5393c063a3d21b70bf7c8da97fc18b3b # Parent f8b1edfe9621dfc31e3129d2a6c7b7cec590198f set default to empty string, not None diff -r f8b1edfe9621 -r e25a3c2f5393 web/facet.py --- a/web/facet.py Wed Jan 28 14:48:23 2009 +0100 +++ b/web/facet.py Wed Jan 28 15:28:32 2009 +0100 @@ -243,7 +243,7 @@ help=_('display the box or not')), _('order'): dict(type='Int', default=99, help=_('display order of the box')), - _('context'): dict(type='String', default=None, + _('context'): dict(type='String', default='', # None <-> both vocabulary=(_('tablefilter'), _('facetbox'), ''), help=_('context where this box should be displayed')),