##// END OF EJS Templates
py3: replace file() with open() in test-patch-offset.t...
Pulkit Goyal -
r36037:bfc9ab6c default
parent child Browse files
Show More
@@ -5,7 +5,7 b''
5 > path = sys.argv[1]
5 > path = sys.argv[1]
6 > patterns = sys.argv[2:]
6 > patterns = sys.argv[2:]
7 >
7 >
8 > fp = file(path, 'wb')
8 > fp = open(path, 'wb')
9 > for pattern in patterns:
9 > for pattern in patterns:
10 > count = int(pattern[0:-1])
10 > count = int(pattern[0:-1])
11 > char = pattern[-1] + '\n'
11 > char = pattern[-1] + '\n'
General Comments 0
You need to be logged in to leave comments. Login now