From 0c82abc6f868a4963a7d557dba4c90cb8ba7e674 Mon Sep 17 00:00:00 2001 From: LiuNanke Date: Sun, 18 Sep 2016 14:50:03 +0800 Subject: [PATCH] Remove default=None for config options In oslo.config, all type config options have default value None if don't set parameter default. So don't need set this config option. Change-Id: I4d53eea263a3e12b7269076b8b566b6851457bd9 --- keystone/conf/security_compliance.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/keystone/conf/security_compliance.py b/keystone/conf/security_compliance.py index 8d8ecde0ab..e046df17f7 100644 --- a/keystone/conf/security_compliance.py +++ b/keystone/conf/security_compliance.py @@ -105,7 +105,6 @@ than the `password_expires_days`. password_regex = cfg.StrOpt( 'password_regex', - default=None, help=utils.fmt(""" The regular expression used to validate password strength requirements. By default, the regular expression will match any password. The following is an @@ -116,7 +115,6 @@ depends on the `sql` backend for the `[identity] driver`. password_regex_description = cfg.StrOpt( 'password_regex_description', - default=None, help=utils.fmt(""" Describe your password regular expression here in language for humans. If a password fails to match the regular expression, the contents of this