Mercurial > public > mercurial-scm > hg
diff mercurial/dispatch.py @ 31629:2632df096fc0
dispatch: use pycompat.maplist() instead of map() to get a list
author | Pulkit Goyal <7895pulkit@gmail.com> |
---|---|
date | Sun, 26 Mar 2017 20:49:18 +0530 |
parents | 9916b3d579a9 |
children | c13ff31818b0 |
line wrap: on
line diff
--- 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):