[commit: ghc] master: check-cpp.py: change rb'foo' to br'foo' for Python 3.2 compatibility (5ff812c)
git at git.haskell.org
git at git.haskell.org
Fri Jan 20 18:06:24 UTC 2017
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/5ff812c14594f507c48121f16be4752eee6e3c88/ghc
>---------------------------------------------------------------
commit 5ff812c14594f507c48121f16be4752eee6e3c88
Author: Reid Barton <rwbarton at gmail.com>
Date: Fri Jan 20 13:04:58 2017 -0500
check-cpp.py: change rb'foo' to br'foo' for Python 3.2 compatibility
>---------------------------------------------------------------
5ff812c14594f507c48121f16be4752eee6e3c88
.arc-linters/check-cpp.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.arc-linters/check-cpp.py b/.arc-linters/check-cpp.py
index 7abbc31..d81e58b 100755
--- a/.arc-linters/check-cpp.py
+++ b/.arc-linters/check-cpp.py
@@ -25,7 +25,7 @@ logger.debug(sys.argv)
path = sys.argv[1]
warnings = []
-r = re.compile(rb'ASSERT\s+\(')
+r = re.compile(br'ASSERT\s+\(')
if os.path.isfile(path):
with open(path, 'rb') as f:
for lineno, line in enumerate(f):
More information about the ghc-commits
mailing list