From 15a5ad392939754a3cd554db41c085e29b6f22f8 Mon Sep 17 00:00:00 2001 From: Shuquan Huang Date: Sun, 8 Nov 2015 19:36:34 +0800 Subject: [PATCH] remove default=None for config options In the cfg module default=None is set as the default value. Change-Id: I4925ab935caffa38fc711038a2a249777b36d969 Closes-bug: #1323975 --- mistral/config.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/mistral/config.py b/mistral/config.py index 36aed3634..84d3e3ad7 100644 --- a/mistral/config.py +++ b/mistral/config.py @@ -93,12 +93,12 @@ executor_opts = [ ] execution_expiration_policy_opts = [ - cfg.IntOpt('evaluation_interval', default=None, + cfg.IntOpt('evaluation_interval', help='How often will the executions be evaluated ' '(in minutes). For example for value 120 the interval ' 'will be 2 hours (every 2 hours).'), - cfg.IntOpt('older_than', default=None, + cfg.IntOpt('older_than', help='Evaluate from which time remove executions in minutes. ' 'For example when older_than = 60, remove all executions ' 'that finished a 60 minutes ago or more. ' @@ -116,7 +116,6 @@ wf_trace_log_name_opt = cfg.StrOpt( coordination_opts = [ cfg.StrOpt('backend_url', - default=None, help='The backend URL to be used for coordination'), cfg.FloatOpt('heartbeat_interval', default=5.0,