From 64011bb0da5b66647e387f26bea20299988760f5 Mon Sep 17 00:00:00 2001 From: Hanxi Date: Tue, 23 Aug 2016 00:39:38 +0800 Subject: [PATCH] remove default=None for config options In the cfg module default=None is set as the default value. Change-Id: I5e19bf14514738f426fd72d25ff3c3a951398c24 Closes-bug: #1323975 --- aodh/event.py | 1 - aodh/notifier/__init__.py | 1 - 2 files changed, 2 deletions(-) diff --git a/aodh/event.py b/aodh/event.py index a64e29a8..0ad94bdb 100644 --- a/aodh/event.py +++ b/aodh/event.py @@ -34,7 +34,6 @@ OPTS = [ help='Number of notification messages to wait before ' 'dispatching them.'), cfg.IntOpt('batch_timeout', - default=None, help='Number of seconds to wait before dispatching samples ' 'when batch_size is not reached (None means indefinitely).'), ] diff --git a/aodh/notifier/__init__.py b/aodh/notifier/__init__.py index 29afa3e5..00b58054 100644 --- a/aodh/notifier/__init__.py +++ b/aodh/notifier/__init__.py @@ -35,7 +35,6 @@ OPTS = [ help='Number of notification messages to wait before ' 'dispatching them.'), cfg.IntOpt('batch_timeout', - default=None, help='Number of seconds to wait before dispatching samples ' 'when batch_size is not reached (None means indefinitely).' ),