public inbox for gentoo-catalyst@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-catalyst] [PATCH] util: drop unused module
@ 2015-10-09 19:35 Mike Frysinger
  2015-10-09 19:49 ` Anthony G. Basile
  0 siblings, 1 reply; 2+ messages in thread
From: Mike Frysinger @ 2015-10-09 19:35 UTC (permalink / raw
  To: gentoo-catalyst

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



^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-10-09 19:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-09 19:35 [gentoo-catalyst] [PATCH] util: drop unused module Mike Frysinger
2015-10-09 19:49 ` Anthony G. Basile

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox