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 A0E0C13888F for ; Fri, 9 Oct 2015 20:08:47 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E88AAE07FD; Fri, 9 Oct 2015 20:08:45 +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 86180E07FD for ; Fri, 9 Oct 2015 20:08:45 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 593DD33BE2F for ; Fri, 9 Oct 2015 20:08:43 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B000FDBE for ; Fri, 9 Oct 2015 20:08:41 +0000 (UTC) From: "Mike Frysinger" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mike Frysinger" Message-ID: <1444396881.8d350367ff0eeb920d58e8e82e76cf81e9e9cc08.vapier@gentoo> Subject: [gentoo-commits] proj/catalyst:master commit in: catalyst/ X-VCS-Repository: proj/catalyst X-VCS-Files: catalyst/main.py catalyst/util.py X-VCS-Directories: catalyst/ X-VCS-Committer: vapier X-VCS-Committer-Name: Mike Frysinger X-VCS-Revision: 8d350367ff0eeb920d58e8e82e76cf81e9e9cc08 X-VCS-Branch: master Date: Fri, 9 Oct 2015 20:08:41 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: d52786ec-b8a7-4d64-97a3-3a4079ed91de X-Archives-Hash: 64ca0174dce8e23933fdc2272e45a0e9 commit: 8d350367ff0eeb920d58e8e82e76cf81e9e9cc08 Author: Mike Frysinger gentoo org> AuthorDate: Fri Oct 9 13:21:21 2015 +0000 Commit: Mike Frysinger gentoo org> CommitDate: Fri Oct 9 13:21:21 2015 +0000 URL: https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=8d350367 util: drop unused module 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(-) 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