check-cpp.py: change rb'foo' to br'foo' for Python 3.2 compatibility
authorReid Barton <rwbarton@gmail.com>
Fri, 20 Jan 2017 18:04:58 +0000 (13:04 -0500)
committerReid Barton <rwbarton@gmail.com>
Fri, 20 Jan 2017 18:04:58 +0000 (13:04 -0500)
.arc-linters/check-cpp.py

index 7abbc31..d81e58b 100755 (executable)
@@ -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):