summaryrefslogtreecommitdiff
path: root/oslo_middleware
diff options
context:
space:
mode:
authormelissaml <ma.lei@99cloud.net>2016-10-19 13:07:45 +0800
committermelissaml <ma.lei@99cloud.net>2016-10-19 13:07:45 +0800
commit36c35984a11667290e177e10c6fb67c6a50e1d9b (patch)
treea84bf7881b0576a5a1041d66d22eb4cc615bd21d /oslo_middleware
parentcc9810787ea953ed0625284cd73423574e487b97 (diff)
downloadoslo-middleware-36c35984a11667290e177e10c6fb67c6a50e1d9b.tar.gz
TrivialFix: Remove default=None when set value in Config
By default oslo.cfg sets the default values as None [1], There is no need to explicitly do this. [1] https://github.com/openstack/oslo.config/blob/master/oslo_config/cfg.py#L829 Change-Id: Ia91d058a2ba434755ff77fc3162c046fbf0776fd
Diffstat (limited to 'oslo_middleware')
-rw-r--r--oslo_middleware/cors.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/oslo_middleware/cors.py b/oslo_middleware/cors.py
index b53ad45..fb4f857 100644
--- a/oslo_middleware/cors.py
+++ b/oslo_middleware/cors.py
@@ -27,7 +27,6 @@ LOG = logging.getLogger(__name__)
CORS_OPTS = [
cfg.ListOpt('allowed_origin',
- default=None,
help='Indicate whether this resource may be shared with the '
'domain received in the requests "origin" header. '
'Format: "<protocol>://<host>[:<port>]", no trailing '