diff --git a/hgext/phabricator.py b/hgext/phabricator.py --- a/hgext/phabricator.py +++ b/hgext/phabricator.py @@ -1632,19 +1632,19 @@ def getdiffmeta(diff): 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: