Skip to content
Snippets Groups Projects
Commit e6487522 authored by Pulkit Goyal's avatar Pulkit Goyal
Browse files

py3: use pycompat.maplist() instead of map()

Differential Revision: https://phab.mercurial-scm.org/D1558
parent d2eff9d4
No related branches found
No related tags found
No related merge requests found
......@@ -913,7 +913,7 @@
if not func.optionalrepo:
if func.inferrepo and args and not path:
# try to infer -R from command args
repos = map(cmdutil.findrepo, args)
repos = pycompat.maplist(cmdutil.findrepo, args)
guess = repos[0]
if guess and repos.count(guess) == len(repos):
req.args = ['--repository', guess] + fullargs
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment