##// END OF EJS Templates
git: un-byteify the `mode` argument for the builtin `open()`...
Matt Harbison -
r49969:020328be default
parent child Browse files
Show More
@@ -33,7 +33,7 b' def readpatternfile(orig, filepath, warn'
33 return orig(filepath, warn, sourceinfo=False)
33 return orig(filepath, warn, sourceinfo=False)
34 result = []
34 result = []
35 warnings = []
35 warnings = []
36 with open(filepath, b'rb') as fp:
36 with open(filepath, 'rb') as fp:
37 for l in fp:
37 for l in fp:
38 l = l.strip()
38 l = l.strip()
39 if not l or l.startswith(b'#'):
39 if not l or l.startswith(b'#'):
General Comments 0
You need to be logged in to leave comments. Login now