summaryrefslogtreecommitdiffstats
path: root/ipaserver/ipaldap.py
diff options
context:
space:
mode:
authorMartin Kosek <mkosek@redhat.com>2012-06-07 09:25:19 +0200
committerRob Crittenden <rcritten@redhat.com>2012-06-17 21:59:54 -0400
commit1484ccc4049dc42a5a8a71713253894ade401573 (patch)
treeaf2a2f2ed6ec5444095f74a36be13dc2ac145aa7 /ipaserver/ipaldap.py
parent8f051c978e2a3cf40ba6cc9c84652ae049d978ab (diff)
downloadfreeipa-1484ccc4049dc42a5a8a71713253894ade401573.tar.gz
freeipa-1484ccc4049dc42a5a8a71713253894ade401573.tar.xz
freeipa-1484ccc4049dc42a5a8a71713253894ade401573.zip
Decimal parameter conversion and normalization
Parameter Decimal does not have a sufficient value checks. Some values cause Decimal parameter with a custom precision to crash with an unhandled exception. Improve parameter conversion and normalization operations to handle decimal exceptions more gracefully. Decimal parameter now also has new attributes enabling 2 new validation/normalization methods: * exponential: when False, decimal number is normalized to its non-exponential form * numberclass: a set of allowed decimal number classes (e.g. +Infinity, -Normal, ...) that are enforced for every Decimal parameter value https://fedorahosted.org/freeipa/ticket/2705
Diffstat (limited to 'ipaserver/ipaldap.py')
0 files changed, 0 insertions, 0 deletions