Submitter | Pulkit Goyal |
---|---|
Date | March 26, 2017, 3:46 p.m. |
Message ID | <2632df096fc0ac758238.1490543200@pulkit-goyal> |
Download | mbox | patch |
Permalink | /patch/19688/ |
State | Accepted |
Headers | show
Return-Path: <mercurial-devel-bounces@mercurial-scm.org> X-Original-To: patchwork@mercurial-scm.org Delivered-To: patchwork@mercurial-scm.org Received: from localhost (localhost [127.0.0.1]) by mercurial-scm.org (Postfix) with ESMTP id 1CFB02C1DC; Sun, 26 Mar 2017 11:47:12 -0400 (EDT) X-Virus-Scanned: Debian amavisd-new at mercurial-scm.org Received: from mercurial-scm.org ([127.0.0.1]) by localhost (mercurial-scm.org [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 8ucdtI23CT8O; Sun, 26 Mar 2017 11:47:11 -0400 (EDT) Received: from mercurial-scm.org (localhost [IPv6:::1]) by mercurial-scm.org (Postfix) with ESMTP id 84A5A2C1B0; Sun, 26 Mar 2017 11:47:11 -0400 (EDT) X-Original-To: mercurial-devel@mercurial-scm.org Delivered-To: mercurial-devel@mercurial-scm.org Received: from localhost (localhost [127.0.0.1]) by mercurial-scm.org (Postfix) with ESMTP id 8BE092C1B0 for <mercurial-devel@mercurial-scm.org>; Sun, 26 Mar 2017 11:47:09 -0400 (EDT) X-Virus-Scanned: Debian amavisd-new at mercurial-scm.org Received: from mercurial-scm.org ([127.0.0.1]) by localhost (mercurial-scm.org [127.0.0.1]) (amavisd-new, port 10024) with LMTP id ao1-FoS8rLJj for <mercurial-devel@mercurial-scm.org>; Sun, 26 Mar 2017 11:47:09 -0400 (EDT) Received: from mail-pf0-x22e.google.com (mail-pf0-x22e.google.com [IPv6:2607:f8b0:400e:c00::22e]) by mercurial-scm.org (Postfix) with ESMTPS id 047F72C1AE for <mercurial-devel@mercurial-scm.org>; Sun, 26 Mar 2017 11:47:07 -0400 (EDT) Received: by mail-pf0-x22e.google.com with SMTP id o126so13959125pfb.3 for <mercurial-devel@mercurial-scm.org>; Sun, 26 Mar 2017 08:47:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:content-transfer-encoding:subject:message-id :user-agent:date:from:to; bh=bRtq7Ijf7umReFzWwrhXXpLU0xfrUskeaWL2QIf3zc0=; b=gk7yd7TYqFz2VHjvXWUjXRHn3DZkE7yujIxV1/vt/ssX+v5pepE7KwrmcgtC06glhH XFXs8YJl2f8cK1F43his7fXpZPb3nRMqor81pzJ11zF9Y8NUVgH8RctpHoWhzQFfMuQP MmhYj4SCnuZa+SLiXKpNK77A2g2OK+EduP0mqk0OFB37fKJCrqJCnKlDOWvKDicctzue C3EVWtvsvDCJlAefoq3JIv2QFQbaCt1+sB0kQpJk1yb9ck9WGJdb75zs8NvIVwRfMetH 2ThG59ER2r1N9FS8/uolbObHFmcMW/9p9SQ8KuHGyqMSuUbW5BR6dKOOgwL4MSjAiYMT uUuw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:content-transfer-encoding:subject :message-id:user-agent:date:from:to; bh=bRtq7Ijf7umReFzWwrhXXpLU0xfrUskeaWL2QIf3zc0=; b=F0ibYI8UyI9Idt4IcuS+P+C+pRsQYoGvdiBbh4JvyKt6hELwdi5Thv9byjOVwAQZRo 6w8kDt1YGHbb75HQiY5dmp8CevNdRGcyntDfoGMVgaajOI0V9Arcs6sHx1xD6tvbdLUf ejovkHkonpeLwaIB9aWXSI6kYaxSoCuNJ9d6ifxFWgLQixDvnpJN3a+XVOHqBzbNPMMB XObq/auq+5QGh8aDfs/4mPE4CEzJjBhvc8c0kXfMPkhXWdFPS2V6998orWVNQoXaatgY HyrkxC2hASEHro+AJOqbrmu1aPLzRx7dXl4aHAmGiHG+tMS3QapYztUk1c5nvqKYj1Ew La6A== X-Gm-Message-State: AFeK/H2Gmaawob0TAjZC6k4wR7lzYd+j74rBtMKCT/AbsZkulEhraqnujFosU68nF0chhQ== X-Received: by 10.84.238.139 with SMTP id v11mr7965284plk.189.1490543226931; Sun, 26 Mar 2017 08:47:06 -0700 (PDT) Received: from [192.168.43.35] ([2405:205:86:1db8:88aa:d7bc:8403:53e6]) by smtp.gmail.com with ESMTPSA id i124sm15709635pgd.66.2017.03.26.08.47.05 for <mercurial-devel@mercurial-scm.org> (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 26 Mar 2017 08:47:06 -0700 (PDT) MIME-Version: 1.0 Subject: [PATCH 1 of 6 py3] dispatch: use pycompat.maplist() instead of map() to get a list X-Mercurial-Node: 2632df096fc0ac7582382b1f94ea4b9ad0bce8f2 X-Mercurial-Series-Index: 1 X-Mercurial-Series-Total: 6 Message-Id: <2632df096fc0ac758238.1490543200@pulkit-goyal> X-Mercurial-Series-Id: <2632df096fc0ac758238.1490543200@pulkit-goyal> User-Agent: Mercurial-patchbomb/4.1.1+256-b4cd912d7704 Date: Sun, 26 Mar 2017 21:16:40 +0530 From: Pulkit Goyal <7895pulkit@gmail.com> To: mercurial-devel@mercurial-scm.org X-BeenThere: mercurial-devel@mercurial-scm.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <mercurial-devel.mercurial-scm.org> List-Unsubscribe: <https://www.mercurial-scm.org/mailman/options/mercurial-devel>, <mailto:mercurial-devel-request@mercurial-scm.org?subject=unsubscribe> List-Archive: <http://www.mercurial-scm.org/pipermail/mercurial-devel/> List-Post: <mailto:mercurial-devel@mercurial-scm.org> List-Help: <mailto:mercurial-devel-request@mercurial-scm.org?subject=help> List-Subscribe: <https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel>, <mailto:mercurial-devel-request@mercurial-scm.org?subject=subscribe> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: mercurial-devel-bounces@mercurial-scm.org Sender: "Mercurial-devel" <mercurial-devel-bounces@mercurial-scm.org> |
Comments
Pulkit Goyal - March 26, 2017, 3:46 p.m.
Patch
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):