##// END OF EJS Templates
py3: use open() instead of file()...
Pulkit Goyal -
r35936:e35616bb default
parent child Browse files
Show More
@@ -281,7 +281,7 b' class patchheader(object):'
281 281 nodeid = None
282 282 diffstart = 0
283 283
284 for line in file(pf):
284 for line in open(pf, 'rb'):
285 285 line = line.rstrip()
286 286 if (line.startswith('diff --git')
287 287 or (diffstart and line.startswith('+++ '))):
General Comments 0
You need to be logged in to leave comments. Login now