Show More
@@ -242,7 +242,7 b' def extract(ui, fileobj):' | |||
|
242 | 242 | ok_types = ('text/plain', 'text/x-diff', 'text/x-patch') |
|
243 | 243 | message = '' |
|
244 | 244 | for part in msg.walk(): |
|
245 | content_type = part.get_content_type() | |
|
245 | content_type = pycompat.bytestr(part.get_content_type()) | |
|
246 | 246 | ui.debug('Content-Type: %s\n' % content_type) |
|
247 | 247 | if content_type not in ok_types: |
|
248 | 248 | continue |
General Comments 0
You need to be logged in to leave comments.
Login now