comparison hgext/win32mbcs.py @ 43117:8ff1ecfadcd1

cleanup: join string literals that are already on one line Thanks to Kyle for noticing this and for providing the regular expression to run on the codebase. This patch has been reviewed by the test suite and they approved of it. # skip-blame: fallout from mass reformatting Differential Revision: https://phab.mercurial-scm.org/D7028
author Martin von Zweigbergk <martinvonz@google.com>
date Tue, 08 Oct 2019 15:06:18 -0700
parents e8cf9ad52a78
children 66210a20f727
comparison
equal deleted inserted replaced
43116:defabf63e969 43117:8ff1ecfadcd1
126 # convert string arguments, call func, then convert back the 126 # convert string arguments, call func, then convert back the
127 # return value. 127 # return value.
128 return enc(func(*dec(args), **dec(kwds))) 128 return enc(func(*dec(args), **dec(kwds)))
129 except UnicodeError: 129 except UnicodeError:
130 raise error.Abort( 130 raise error.Abort(
131 _(b"[win32mbcs] filename conversion failed with" b" %s encoding\n") 131 _(b"[win32mbcs] filename conversion failed with %s encoding\n")
132 % _encoding 132 % _encoding
133 ) 133 )
134 134
135 135
136 def wrapper(func, args, kwds): 136 def wrapper(func, args, kwds):