comparison mercurial/i18n.py @ 46981:abd18d6306f1

errors: remove unnecessary varargs handling from OutOfBandError In my recent D10465, I moved some code over from scmutil into `OutOfBandError.__init__`. The code was written to deal with an arbitrary number of `message` arguments to the constructor. It turns out that we only ever pass 0 or 1. Given that, let's simplify it. Differential Revision: https://phab.mercurial-scm.org/D10483
author Martin von Zweigbergk <martinvonz@google.com>
date Mon, 19 Apr 2021 21:31:24 -0700
parents d4ba4d51f85f
children 6000f5b25c9b
comparison
equal deleted inserted replaced
46980:75351b8b2082 46981:abd18d6306f1