public inbox for gentoo-catalyst@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Anthony G. Basile" <blueness@gentoo.org>
To: gentoo-catalyst@lists.gentoo.org
Subject: Re: [gentoo-catalyst] [PATCH] util: drop unused module
Date: Fri, 9 Oct 2015 15:49:58 -0400	[thread overview]
Message-ID: <56181A66.2090100@gentoo.org> (raw)
In-Reply-To: <1444419357-732-1-git-send-email-vapier@gentoo.org>

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



      reply	other threads:[~2015-10-09 19:50 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-09 19:35 [gentoo-catalyst] [PATCH] util: drop unused module Mike Frysinger
2015-10-09 19:49 ` Anthony G. Basile [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=56181A66.2090100@gentoo.org \
    --to=blueness@gentoo.org \
    --cc=gentoo-catalyst@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox