From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id A0F1413888F for ; Fri, 9 Oct 2015 19:50:11 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 87FD2E083C; Fri, 9 Oct 2015 19:50:07 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 24E33E083C for ; Fri, 9 Oct 2015 19:50:07 +0000 (UTC) Received: from greysprite.dite (cpe-74-77-145-97.buffalo.res.rr.com [74.77.145.97]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: blueness) by smtp.gentoo.org (Postfix) with ESMTPSA id E17C734074F for ; Fri, 9 Oct 2015 19:50:02 +0000 (UTC) Subject: Re: [gentoo-catalyst] [PATCH] util: drop unused module To: gentoo-catalyst@lists.gentoo.org References: <1444419357-732-1-git-send-email-vapier@gentoo.org> From: "Anthony G. Basile" Message-ID: <56181A66.2090100@gentoo.org> Date: Fri, 9 Oct 2015 15:49:58 -0400 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-catalyst@lists.gentoo.org Reply-to: gentoo-catalyst@lists.gentoo.org MIME-Version: 1.0 In-Reply-To: <1444419357-732-1-git-send-email-vapier@gentoo.org> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Archives-Salt: 623943a7-51a4-45de-b2fd-827348070b56 X-Archives-Hash: eaf19200c626602838aadd9d29cb8d77 On 10/9/15 3:35 PM, Mike Frysinger wrote: > The last user of this module was removed in a519c380faabe8278863d4615e24 > back in 2013. > --- > catalyst/main.py | 1 - > catalyst/util.py | 14 -------------- > 2 files changed, 15 deletions(-) > delete mode 100644 catalyst/util.py > > diff --git a/catalyst/main.py b/catalyst/main.py > index f33369b..9f563cf 100644 > --- a/catalyst/main.py > +++ b/catalyst/main.py > @@ -21,7 +21,6 @@ from DeComp.contents import ContentsMap > > from catalyst import log > import catalyst.config > -import catalyst.util > from catalyst.defaults import confdefaults, option_messages > from catalyst.hash_utils import HashMap, HASH_DEFINITIONS > from catalyst.support import CatalystError > diff --git a/catalyst/util.py b/catalyst/util.py > deleted file mode 100644 > index ff12086..0000000 > --- a/catalyst/util.py > +++ /dev/null > @@ -1,14 +0,0 @@ > -""" > -Collection of utility functions for catalyst > -""" > - > -import sys, traceback > - > -def capture_traceback(): > - etype, value, tb = sys.exc_info() > - s = [x.strip() for x in traceback.format_exception(etype, value, tb)] > - return s > - > -def print_traceback(): > - for x in capture_traceback(): > - print x Confirmed. There are no current consumers. Do you have commit access now? If so puuush! -- Anthony G. Basile, Ph.D. Gentoo Linux Developer [Hardened] E-Mail : blueness@gentoo.org GnuPG FP : 1FED FAD9 D82C 52A5 3BAB DC79 9384 FA6E F52D 4BBA GnuPG ID : F52D4BBA