changeset 431:bdeeee777f85

internal: Floats are also allowed in configurations, duh.
author Ludovic Chabant <ludovic@chabant.com>
date Sat, 27 Jun 2015 21:45:48 -0700
parents 21e26ed867b6
children 3aa174a7f3cf
files piecrust/configuration.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/piecrust/configuration.py	Sat Jun 27 08:27:35 2015 -0700
+++ b/piecrust/configuration.py	Sat Jun 27 21:45:48 2015 -0700
@@ -8,7 +8,7 @@
 
 logger = logging.getLogger(__name__)
 
-default_allowed_types = (dict, list, tuple, int, bool, str)
+default_allowed_types = (dict, list, tuple, float, int, bool, str)
 
 
 class ConfigurationError(Exception):