mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-25 08:21:05 -06:00
521df77744
When api.env is loaded, strings that "look like" floats got auto-converted to floats. This is wrong, as the conversion to float can lose precision. Case in point: the api_version (e.g. '2.88') should never be interpreted as float. Do not automatically convert to float. We have two numeric options: startup_timeout and wait_for_dns. wait_for_dns is already converted to int when used in the code. Convert startup_timeout to float explicitly when used, so configuration that specified it with a decimal point continues to work. Reviewed-By: Fraser Tweedale <ftweedal@redhat.com> |
||
---|---|---|
.. | ||
__init__.py | ||
test_aci.py | ||
test_backend.py | ||
test_base.py | ||
test_capabilities.py | ||
test_cli.py | ||
test_config.py | ||
test_crud.py | ||
test_errors.py | ||
test_frontend.py | ||
test_messages.py | ||
test_output.py | ||
test_parameters.py | ||
test_plugable.py | ||
test_rpc.py | ||
test_text.py | ||
test_util.py | ||
test_x509.py |