Show More
@@ -742,7 +742,7 b' def readpatternfile(filepath, warn, sour' | |||||
742 | syntax = 'relre:' |
|
742 | syntax = 'relre:' | |
743 | patterns = [] |
|
743 | patterns = [] | |
744 |
|
744 | |||
745 | fp = open(filepath) |
|
745 | fp = open(filepath, 'rb') | |
746 | for lineno, line in enumerate(util.iterfile(fp), start=1): |
|
746 | for lineno, line in enumerate(util.iterfile(fp), start=1): | |
747 | if "#" in line: |
|
747 | if "#" in line: | |
748 | global _commentre |
|
748 | global _commentre |
General Comments 0
You need to be logged in to leave comments.
Login now