# HG changeset patch # User Pulkit Goyal <7895pul...@gmail.com> # Date 1490541558 -19800 # Sun Mar 26 20:49:18 2017 +0530 # Node ID 2632df096fc0ac7582382b1f94ea4b9ad0bce8f2 # Parent e86eb75e74ce1b0803c26d86a229b9b711f6d76a dispatch: use pycompat.maplist() instead of map() to get a list
diff -r e86eb75e74ce -r 2632df096fc0 mercurial/dispatch.py --- a/mercurial/dispatch.py Sat Mar 25 13:29:23 2017 -0400 +++ b/mercurial/dispatch.py Sun Mar 26 20:49:18 2017 +0530 @@ -402,7 +402,7 @@ @property def args(self): - args = map(util.expandpath, self.givenargs) + args = pycompat.maplist(util.expandpath, self.givenargs) return aliasargs(self.fn, args) def __getattr__(self, name): _______________________________________________ Mercurial-devel mailing list Mercurial-devel@mercurial-scm.org https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel