##// END OF EJS Templates
py3: fix slicing of bytes in patch.iterhunks()
Yuya Nishihara -
r36664:463df298 default
parent child Browse files
Show More
@@ -1852,7 +1852,7 b' def iterhunks(fp):'
1852
1852
1853 for x in iter(lr.readline, ''):
1853 for x in iter(lr.readline, ''):
1854 if state == BFILE and (
1854 if state == BFILE and (
1855 (not context and x[0] == '@')
1855 (not context and x.startswith('@'))
1856 or (context is not False and x.startswith('***************'))
1856 or (context is not False and x.startswith('***************'))
1857 or x.startswith('GIT binary patch')):
1857 or x.startswith('GIT binary patch')):
1858 gp = None
1858 gp = None
General Comments 0
You need to be logged in to leave comments. Login now