Show More
@@ -215,7 +215,7 b' def extract(ui, fileobj):' | |||||
215 |
|
215 | |||
216 | data = {} |
|
216 | data = {} | |
217 | fd, tmpname = tempfile.mkstemp(prefix='hg-patch-') |
|
217 | fd, tmpname = tempfile.mkstemp(prefix='hg-patch-') | |
218 | tmpfp = os.fdopen(fd, pycompat.sysstr('w')) |
|
218 | tmpfp = os.fdopen(fd, pycompat.sysstr('wb')) | |
219 | try: |
|
219 | try: | |
220 | msg = pycompat.emailparser().parse(fileobj) |
|
220 | msg = pycompat.emailparser().parse(fileobj) | |
221 |
|
221 |
General Comments 0
You need to be logged in to leave comments.
Login now