mirror of
https://github.com/facebook/sapling.git
synced 2024-10-07 15:27:13 +03:00
dispatch: use pycompat.maplist() instead of map() to get a list
This commit is contained in:
parent
ca74aac810
commit
dbc47c9005
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user