Merge "Remove default=None when set value in config"

This commit is contained in:
Jenkins 2016-09-26 13:49:36 +00:00 committed by Gerrit Code Review
commit 63a1754045

View File

@ -17,7 +17,6 @@ from keystone.conf import utils
disable_user_account_days_inactive = cfg.IntOpt( disable_user_account_days_inactive = cfg.IntOpt(
'disable_user_account_days_inactive', 'disable_user_account_days_inactive',
default=None,
min=1, min=1,
help=utils.fmt(""" help=utils.fmt("""
The maximum number of days a user can go without authenticating before being The maximum number of days a user can go without authenticating before being
@ -30,7 +29,6 @@ may not match the value of the user's `enabled` column in the user table.
lockout_failure_attempts = cfg.IntOpt( lockout_failure_attempts = cfg.IntOpt(
'lockout_failure_attempts', 'lockout_failure_attempts',
default=None,
min=1, min=1,
help=utils.fmt(""" help=utils.fmt("""
The maximum number of times that a user can fail to authenticate before the The maximum number of times that a user can fail to authenticate before the
@ -57,7 +55,6 @@ driver`.
password_expires_days = cfg.IntOpt( password_expires_days = cfg.IntOpt(
'password_expires_days', 'password_expires_days',
default=None,
min=1, min=1,
help=utils.fmt(""" help=utils.fmt("""
The number of days for which a password will be considered valid The number of days for which a password will be considered valid