Mercurial > hg-stable
changeset 44593:2d63a8910db6
phabricator: remove *-argument from _getdrevs()
It can't take more than one specs arguments per len(*specs).
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Sat, 21 Mar 2020 14:01:10 +0900 |
parents | f913ece27ff5 |
children | 0424a9134bcf |
files | hgext/phabricator.py |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext/phabricator.py Sat Mar 21 13:42:08 2020 +0900 +++ b/hgext/phabricator.py Sat Mar 21 14:01:10 2020 +0900 @@ -1632,19 +1632,19 @@ return meta -def _getdrevs(ui, stack, *specs): +def _getdrevs(ui, stack, specs): """convert user supplied DREVSPECs into "Differential Revision" dicts See ``hg help phabread`` for how to specify each DREVSPEC. """ - if len(*specs) > 0: + if len(specs) > 0: def _formatspec(s): if stack: s = b':(%s)' % s return b'(%s)' % s - spec = b'+'.join(pycompat.maplist(_formatspec, *specs)) + spec = b'+'.join(pycompat.maplist(_formatspec, specs)) drevs = querydrev(ui, spec) if drevs: