* [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
* Re: [gentoo-catalyst] [PATCH] util: drop unused module
2015-10-09 19:35 [gentoo-catalyst] [PATCH] util: drop unused module Mike Frysinger
@ 2015-10-09 19:49 ` Anthony G. Basile
0 siblings, 0 replies; 2+ messages in thread
From: Anthony G. Basile @ 2015-10-09 19:49 UTC (permalink / raw
To: gentoo-catalyst
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
^ permalink raw reply [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