diff options
author | Andrew Ragusa <aragusa@grnoc.iu.edu> | 2014-07-09 09:51:23 -0400 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2014-07-10 08:45:36 +0900 |
commit | 261cda51a985f8be2785cc67ad26505c4b15355c (patch) | |
tree | b4ab5c5f35eeab6f6cedc3c97b6c17b05804afcf | |
parent | 3770483c674c3ad3cf5cf1d3033a9335a51ec0c6 (diff) |
adding FloatOpt to the config parser
This patch just adds the ability to parse Float values from a config
using oslo.config.cfg FloatOpt class
Signed-off-by: AJ Ragusa <aragusa@grnoc.iu.edu>
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
-rw-r--r-- | ryu/cfg.py | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -43,6 +43,7 @@ from oslo.config.cfg import IntOpt from oslo.config.cfg import ListOpt from oslo.config.cfg import MultiStrOpt from oslo.config.cfg import StrOpt +from oslo.config.cfg import FloatOpt from oslo.config.cfg import RequiredOptError from oslo.config.cfg import ConfigFilesNotFoundError |