Mercurial > piecrust2
comparison piecrust/configuration.py @ 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 | 734f2abf361c |
children | 32c7c2d219d2 |
comparison
equal
deleted
inserted
replaced
430:21e26ed867b6 | 431:bdeeee777f85 |
---|---|
6 from yaml.constructor import ConstructorError | 6 from yaml.constructor import ConstructorError |
7 | 7 |
8 | 8 |
9 logger = logging.getLogger(__name__) | 9 logger = logging.getLogger(__name__) |
10 | 10 |
11 default_allowed_types = (dict, list, tuple, int, bool, str) | 11 default_allowed_types = (dict, list, tuple, float, int, bool, str) |
12 | 12 |
13 | 13 |
14 class ConfigurationError(Exception): | 14 class ConfigurationError(Exception): |
15 pass | 15 pass |
16 | 16 |