comparison mercurial/util.py @ 32546:3b8155305fbe

util: use sysstr.join instead of bytes.join in textwrap wrapper
author Augie Fackler <raf@durin42.com>
date Sun, 28 May 2017 13:42:16 -0400
parents 47ce079b1afa
children 9929af2b09b4
comparison
equal deleted inserted replaced
32545:37863db50414 32546:3b8155305fbe
2336 del cur_line[-1] 2336 del cur_line[-1]
2337 2337
2338 # Convert current line back to a string and store it in list 2338 # Convert current line back to a string and store it in list
2339 # of all lines (return value). 2339 # of all lines (return value).
2340 if cur_line: 2340 if cur_line:
2341 lines.append(indent + ''.join(cur_line)) 2341 lines.append(indent + r''.join(cur_line))
2342 2342
2343 return lines 2343 return lines
2344 2344
2345 global MBTextWrapper 2345 global MBTextWrapper
2346 MBTextWrapper = tw 2346 MBTextWrapper = tw