comparison mercurial/keepalive.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 9f70512ae2cf
comparison
equal deleted inserted replaced
43116:defabf63e969 43117:8ff1ecfadcd1
294 # same exception was raised, etc. The trade-off is 294 # same exception was raised, etc. The trade-off is
295 # that it's now possible this call will raise 295 # that it's now possible this call will raise
296 # a DIFFERENT exception 296 # a DIFFERENT exception
297 if DEBUG: 297 if DEBUG:
298 DEBUG.error( 298 DEBUG.error(
299 b"unexpected exception - closing " b"connection to %s (%d)", 299 b"unexpected exception - closing connection to %s (%d)",
300 host, 300 host,
301 id(h), 301 id(h),
302 ) 302 )
303 self._cm.remove(h) 303 self._cm.remove(h)
304 h.close() 304 h.close()