comparison mercurial/hgweb/webcommands.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 d783f945a701
children 6ff1a0d109c9
comparison
equal deleted inserted replaced
43116:defabf63e969 43117:8ff1ecfadcd1
1293 web.res.headers[b'Content-Encoding'] = encoding 1293 web.res.headers[b'Content-Encoding'] = encoding
1294 1294
1295 web.res.setbodywillwrite() 1295 web.res.setbodywillwrite()
1296 if list(web.res.sendresponse()): 1296 if list(web.res.sendresponse()):
1297 raise error.ProgrammingError( 1297 raise error.ProgrammingError(
1298 b'sendresponse() should not emit data ' b'if writing later' 1298 b'sendresponse() should not emit data if writing later'
1299 ) 1299 )
1300 1300
1301 bodyfh = web.res.getbodyfile() 1301 bodyfh = web.res.getbodyfile()
1302 1302
1303 archival.archive( 1303 archival.archive(