From patchwork Thu Jun 20 05:51:41 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Sangorrin X-Patchwork-Id: 11005895 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 5F6F51580 for ; Thu, 20 Jun 2019 05:52:11 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4F8442843C for ; Thu, 20 Jun 2019 05:52:11 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 43F1D28415; Thu, 20 Jun 2019 05:52:11 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from mail.linuxfoundation.org (mail.linuxfoundation.org [140.211.169.12]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 0294327F3E for ; Thu, 20 Jun 2019 05:52:11 +0000 (UTC) Received: from mail.linux-foundation.org (localhost [127.0.0.1]) by mail.linuxfoundation.org (Postfix) with ESMTP id 17E2BC4E; Thu, 20 Jun 2019 05:52:04 +0000 (UTC) X-Original-To: cip-dev@lists.cip-project.org Delivered-To: cip-dev@mail.linuxfoundation.org Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org [172.17.192.35]) by mail.linuxfoundation.org (Postfix) with ESMTPS id C9E0BB88 for ; Thu, 20 Jun 2019 05:52:02 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mo-csw.securemx.jp (mo-csw1114.securemx.jp [210.130.202.156]) by smtp1.linuxfoundation.org (Postfix) with ESMTPS id 465E67DB for ; Thu, 20 Jun 2019 05:52:01 +0000 (UTC) Received: by mo-csw.securemx.jp (mx-mo-csw1114) id x5K5pnQk029322; Thu, 20 Jun 2019 14:51:49 +0900 X-Iguazu-Qid: 2wHHotYFKI46iIpYau X-Iguazu-QSIG: v=2; s=0; t=1561009909; q=2wHHotYFKI46iIpYau; m=Mjjxjbso9rTFhwgviEj3v6pUUBEZy8/c5OZ6PYJIyaM= Received: from imx12.toshiba.co.jp (imx12.toshiba.co.jp [61.202.160.132]) by relay.securemx.jp (mx-mr1111) id x5K5pliE032853; Thu, 20 Jun 2019 14:51:48 +0900 Received: from enc02.toshiba.co.jp ([61.202.160.51]) by imx12.toshiba.co.jp with ESMTP id x5K5plVp011597; Thu, 20 Jun 2019 14:51:47 +0900 (JST) Received: from hop101.toshiba.co.jp ([133.199.85.107]) by enc02.toshiba.co.jp with ESMTP id x5K5plG8030321; Thu, 20 Jun 2019 14:51:47 +0900 From: Daniel Sangorrin To: ben.hutchings@codethink.co.uk Date: Thu, 20 Jun 2019 14:51:41 +0900 X-TSB-HOP: ON Message-Id: <20190620055143.341-1-daniel.sangorrin@toshiba.co.jp> X-Mailer: git-send-email 2.17.1 Cc: cip-dev@lists.cip-project.org Subject: [cip-dev] [cip-kernel-sec][PATCH v2 1/3] branch: fix remotes mapping X-BeenThere: cip-dev@lists.cip-project.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: cip-dev-bounces@lists.cip-project.org Errors-To: cip-dev-bounces@lists.cip-project.org X-Virus-Scanned: ClamAV using ClamSMTP Probably a copy&paste error that never got checked because nobody is using the mapping functionality. Signed-off-by: Daniel Sangorrin --- scripts/kernel_sec/branch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/kernel_sec/branch.py b/scripts/kernel_sec/branch.py index 3ede64a..10f3339 100644 --- a/scripts/kernel_sec/branch.py +++ b/scripts/kernel_sec/branch.py @@ -212,7 +212,7 @@ def get_remotes(mappings, mainline=None, stable=None): _get_configured_remotes( os.path.expanduser('~/.config/kernel-sec/remotes.yml'))) for mapping in mappings: - left, right = arg.split(':', 1) + left, right = mapping.split(':', 1) remotes[left]['git_name'] = right if mainline: remotes['torvalds']['git_name'] = mainline