python 3.12: use raw string

This fixes "SyntaxWarning: invalid escape sequence '\d'
when installing python3-keystone.

Change-Id: Iee22be887130dd171ae8038f5ed3bb365e2b3ade
This commit is contained in:
Thomas Goirand 2023-12-23 13:02:00 +01:00
parent 9e4a3157dd
commit 45dde73ba3
1 changed files with 1 additions and 1 deletions

View File

@ -94,7 +94,7 @@ than the `password_expires_days`.
password_regex = cfg.StrOpt( password_regex = cfg.StrOpt(
'password_regex', 'password_regex',
help=utils.fmt(""" help=utils.fmt(r"""
The regular expression used to validate password strength requirements. By The regular expression used to validate password strength requirements. By
default, the regular expression will match any password. The following is an default, the regular expression will match any password. The following is an
example of a pattern which requires at least 1 letter, 1 digit, and have a example of a pattern which requires at least 1 letter, 1 digit, and have a