dispatch: use pycompat.maplist() instead of map() to get a list

This commit is contained in:
Pulkit Goyal 2017-03-26 20:49:18 +05:30
parent ca74aac810
commit dbc47c9005

View File

@ -402,7 +402,7 @@ class cmdalias(object):
@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):