Skip to content

Commit 3181d3a

Browse files
committed
other/pack: Python 3 compatibility
1 parent a40d7a2 commit 3181d3a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

other/pack.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ def get_description(path):
3838
line = line.decode('utf-8').strip()
3939
if '"""' in line or "'''" in line:
4040
while line.strip('\n\t\r \'\"') == '':
41-
line = mf.next()
41+
line = next(mf)
4242
line = line.decode('utf-8').strip()
4343
return line
4444

0 commit comments

Comments
 (0)