From: Mike Frysinger <vapier@gentoo.org>
To: gentoo-catalyst@lists.gentoo.org
Subject: [gentoo-catalyst] [PATCH] util: drop unused module
Date: Fri, 9 Oct 2015 15:35:57 -0400 [thread overview]
Message-ID: <1444419357-732-1-git-send-email-vapier@gentoo.org> (raw)
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
--
2.5.2
next reply other threads:[~2015-10-09 19:36 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-09 19:35 Mike Frysinger [this message]
2015-10-09 19:49 ` [gentoo-catalyst] [PATCH] util: drop unused module Anthony G. Basile
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=1444419357-732-1-git-send-email-vapier@gentoo.org \
--to=vapier@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