forked from Mirror/pmbootstrap
fix deprecation warnings in regular expressions (!1804)
From https://docs.python.org/3/library/re.html "Backslashes are not handled in any special way in a string literal prefixed with 'r'." Signed-off-by: Steffen Pankratz <kratz00@gmx.de>
This commit is contained in:
parent
2c4dae736a
commit
3b240e46f7
2 changed files with 3 additions and 3 deletions
|
@ -357,7 +357,7 @@ def frontend(args):
|
|||
" or \"none\"")
|
||||
extra = pmb.helpers.cli.ask(args, "Extra packages", None,
|
||||
args.extra_packages,
|
||||
validation_regex="^([-.+\w]+)(,[-.+\w]+)*$")
|
||||
validation_regex=r"^([-.+\w]+)(,[-.+\w]+)*$")
|
||||
cfg["pmbootstrap"]["extra_packages"] = extra
|
||||
|
||||
# Configure timezone info
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue