diff options
author | 2022-05-31 10:53:22 -0700 | |
---|---|---|
committer | 2022-05-31 10:53:22 -0700 | |
commit | 1d39a41a244b49b3e1fe1739eb8fdd2a01783877 (patch) | |
tree | b0c1526845f0911ae3c5855082f27cf095fe5292 | |
parent | configs.py: Remove py2 code (diff) | |
download | mirrorselect-1d39a41a244b49b3e1fe1739eb8fdd2a01783877.tar.gz mirrorselect-1d39a41a244b49b3e1fe1739eb8fdd2a01783877.tar.bz2 mirrorselect-1d39a41a244b49b3e1fe1739eb8fdd2a01783877.zip |
configs.py: Add missing https:// to the re.compile
Signed-off-by: Brian Dolbec <dolsen@gentoo.org>
-rw-r--r-- | mirrorselect/configs.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mirrorselect/configs.py b/mirrorselect/configs.py index d72ddf3..6d901a8 100644 --- a/mirrorselect/configs.py +++ b/mirrorselect/configs.py @@ -165,7 +165,7 @@ def get_filesystem_mirrors(output, config_path): lex = shlex.shlex(f, posix=True) lex.wordchars = string.digits + letters + r"~!@#$%*_\:;?,./-+{}" lex.quotes = "\"'" - p = re.compile('rsync://|http://|ftp://', re.IGNORECASE) + p = re.compile('rsync://|http://|https://|ftp://', re.IGNORECASE) while 1: key = get_token(lex) #output.write('get_filesystem_mirrors(): processing key = %s\n' % key, 2) |