From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 20E7C158091 for ; Tue, 31 May 2022 18:39:05 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 79CD5E08DD; Tue, 31 May 2022 18:39:03 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 52986E0729 for ; Tue, 31 May 2022 18:39:03 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 5812F341AF0 for ; Tue, 31 May 2022 18:39:02 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 695FE4E3 for ; Tue, 31 May 2022 18:39:00 +0000 (UTC) From: "Brian Dolbec" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Brian Dolbec" Message-ID: <1654019602.1d39a41a244b49b3e1fe1739eb8fdd2a01783877.dolsen@gentoo> Subject: [gentoo-commits] proj/mirrorselect:master commit in: mirrorselect/ X-VCS-Repository: proj/mirrorselect X-VCS-Files: mirrorselect/configs.py X-VCS-Directories: mirrorselect/ X-VCS-Committer: dolsen X-VCS-Committer-Name: Brian Dolbec X-VCS-Revision: 1d39a41a244b49b3e1fe1739eb8fdd2a01783877 X-VCS-Branch: master Date: Tue, 31 May 2022 18:39:00 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: de6eec83-9c5a-4661-b483-985f524a4885 X-Archives-Hash: 88aea87bb31400a8c810489cdaab36b7 commit: 1d39a41a244b49b3e1fe1739eb8fdd2a01783877 Author: Brian Dolbec gentoo org> AuthorDate: Tue May 31 17:53:22 2022 +0000 Commit: Brian Dolbec gentoo 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 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)