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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 206F7138334 for ; Mon, 27 May 2019 17:52:36 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4887CE088A; Mon, 27 May 2019 17:52:35 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 2ACC2E088A for ; Mon, 27 May 2019 17:52:35 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 81AE2345191 for ; Mon, 27 May 2019 17:52:33 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7F8C7566 for ; Mon, 27 May 2019 17:52:31 +0000 (UTC) From: "Zac Medico" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Zac Medico" Message-ID: <1558979525.2bc49521708ec4cd6941bc725f7b4ab490ff77a9.zmedico@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: zmedico X-VCS-Committer-Name: Zac Medico X-VCS-Revision: 2bc49521708ec4cd6941bc725f7b4ab490ff77a9 X-VCS-Branch: master Date: Mon, 27 May 2019 17:52:31 +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: 7fceba99-74e5-46c2-9a58-77198985995b X-Archives-Hash: 7318e9cbf43f8e85ceaed80780b470ab commit: 2bc49521708ec4cd6941bc725f7b4ab490ff77a9 Author: Zac Medico gentoo org> AuthorDate: Mon May 27 17:51:38 2019 +0000 Commit: Zac Medico gentoo org> CommitDate: Mon May 27 17:52:05 2019 +0000 URL: https://gitweb.gentoo.org/proj/mirrorselect.git/commit/?id=2bc49521 get_filesystem_mirrors: fix DeprecationWarning: invalid escape sequence \ Signed-off-by: Zac Medico gentoo.org> mirrorselect/configs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mirrorselect/configs.py b/mirrorselect/configs.py index 8c4b4df..df718f6 100644 --- a/mirrorselect/configs.py +++ b/mirrorselect/configs.py @@ -172,7 +172,7 @@ def get_filesystem_mirrors(output, config_path, sync=False): """ Search for 'var' in make.conf and extract value """ lex = shlex.shlex(f, posix=True) - lex.wordchars = string.digits+letters+"~!@#$%*_\:;?,./-+{}" + lex.wordchars = string.digits + letters + r"~!@#$%*_\:;?,./-+{}" lex.quotes = "\"'" p = re.compile('rsync://|http://|ftp://', re.IGNORECASE) while 1: