From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 69508138BEF for ; Tue, 6 Oct 2015 13:46:26 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 451A2E086C; Tue, 6 Oct 2015 13:46:25 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A289BE086D for ; Tue, 6 Oct 2015 13:46:24 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C7507340B0C for ; Tue, 6 Oct 2015 13:46:22 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 591B6AB6 for ; Tue, 6 Oct 2015 13:46:18 +0000 (UTC) From: "Mike Frysinger" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mike Frysinger" Message-ID: <1444101825.f4e85c25e4092b5616db44b24a34986731a21d7a.vapier@gentoo> Subject: [gentoo-commits] proj/catalyst:master commit in: catalyst/ X-VCS-Repository: proj/catalyst X-VCS-Files: catalyst/config.py X-VCS-Directories: catalyst/ X-VCS-Committer: vapier X-VCS-Committer-Name: Mike Frysinger X-VCS-Revision: f4e85c25e4092b5616db44b24a34986731a21d7a X-VCS-Branch: master Date: Tue, 6 Oct 2015 13:46:18 +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-Archives-Salt: 6f30d6d2-1473-4649-ae58-7e800943dcfb X-Archives-Hash: 1b01de77b39ea44c074313bb19fe732d commit: f4e85c25e4092b5616db44b24a34986731a21d7a Author: Mike Frysinger gentoo org> AuthorDate: Tue Oct 6 03:23:45 2015 +0000 Commit: Mike Frysinger gentoo org> CommitDate: Tue Oct 6 03:23:45 2015 +0000 URL: https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=f4e85c25 lint: fix anomalous-backslash-in-string All strings using escape sequences should be raw strings. This way we don't end up with accidental misbehavior. catalyst/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/catalyst/config.py b/catalyst/config.py index 67d4e77..5d74dce 100644 --- a/catalyst/config.py +++ b/catalyst/config.py @@ -42,7 +42,7 @@ class ParserBase: values = {} cur_array = [] - trailing_comment=re.compile('\s*#.*$') + trailing_comment=re.compile(r'\s*#.*$') #white_space=re.compile('\s+') for x, myline in enumerate(self.lines):