commit:     1d39a41a244b49b3e1fe1739eb8fdd2a01783877
Author:     Brian Dolbec <dolsen <AT> gentoo <DOT> org>
AuthorDate: Tue May 31 17:53:22 2022 +0000
Commit:     Brian Dolbec <dolsen <AT> gentoo <DOT> org>
CommitDate: Tue May 31 17:53:22 2022 +0000
URL:        https://gitweb.gentoo.org/proj/mirrorselect.git/commit/?id=1d39a41a

configs.py: Add missing https:// to the re.compile

Signed-off-by: Brian Dolbec <dolsen <AT> gentoo.org>

 mirrorselect/configs.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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)

Reply via email to