From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-565294-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 54E1F198005 for <garchives@archives.gentoo.org>; Sat, 2 Mar 2013 03:44:51 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 01922E0534; Sat, 2 Mar 2013 03:44:50 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 885D1E0534 for <gentoo-commits@lists.gentoo.org>; Sat, 2 Mar 2013 03:44:49 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 9A8C633DC6D for <gentoo-commits@lists.gentoo.org>; Sat, 2 Mar 2013 03:44:48 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 26F6CE41E2 for <gentoo-commits@lists.gentoo.org>; Sat, 2 Mar 2013 03:44:47 +0000 (UTC) From: "Zac Medico" <zmedico@gentoo.org> To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Zac Medico" <zmedico@gentoo.org> Message-ID: <1362195874.7509930d67c24899a6bb41323048a3b9cd9011da.zmedico@gentoo> Subject: [gentoo-commits] proj/portage:master commit in: bin/ X-VCS-Repository: proj/portage X-VCS-Files: bin/repoman X-VCS-Directories: bin/ X-VCS-Committer: zmedico X-VCS-Committer-Name: Zac Medico X-VCS-Revision: 7509930d67c24899a6bb41323048a3b9cd9011da X-VCS-Branch: master Date: Sat, 2 Mar 2013 03:44:47 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 2ad4c23c-3893-4c88-973c-c1c5dbd18f99 X-Archives-Hash: e2518034721b2364949cb8d2e7c95519 commit: 7509930d67c24899a6bb41323048a3b9cd9011da Author: Zac Medico <zmedico <AT> gentoo <DOT> org> AuthorDate: Sat Mar 2 03:44:34 2013 +0000 Commit: Zac Medico <zmedico <AT> gentoo <DOT> org> CommitDate: Sat Mar 2 03:44:34 2013 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=7509930d repoman: remove unused grouplist function --- bin/repoman | 16 ---------------- 1 files changed, 0 insertions(+), 16 deletions(-) diff --git a/bin/repoman b/bin/repoman index 07f0adc..5c58bea 100755 --- a/bin/repoman +++ b/bin/repoman @@ -2360,22 +2360,6 @@ del console_writer, f, style_file qa_output = qa_output.getvalue() qa_output = qa_output.splitlines(True) -def grouplist(mylist, seperator="/"): - """(list,seperator="/") -- Takes a list of elements; groups them into - same initial element categories. Returns a dict of {base:[sublist]} - From: ["blah/foo","spork/spatula","blah/weee/splat"] - To: {"blah":["foo","weee/splat"], "spork":["spatula"]}""" - mygroups = {} - for x in mylist: - xs = x.split(seperator) - if xs[0] == ".": - xs = xs[1:] - if xs[0] not in mygroups: - mygroups[xs[0]] = [seperator.join(xs[1:])] - else: - mygroups[xs[0]] += [seperator.join(xs[1:])] - return mygroups - suggest_ignore_masked = False suggest_include_dev = False