set default to empty string, not None
authorsylvain.thenault@logilab.fr
Wed, 28 Jan 2009 15:28:32 +0100
changeset 496 e25a3c2f5393
parent 495 f8b1edfe9621
child 497 68d4211518c5
child 499 ad3de58a8e30
set default to empty string, not None
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')),