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 973C913877A for ; Tue, 2 Sep 2014 02:33:09 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id F2AABE0B8C; Tue, 2 Sep 2014 02:33:05 +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 71B22E0B8C for ; Tue, 2 Sep 2014 02:33:05 +0000 (UTC) Received: from big_daddy.dol-sen.ca (S010600222de111ff.vc.shawcable.net [96.49.5.156]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: dolsen) by smtp.gentoo.org (Postfix) with ESMTPSA id 2F54333F695; Tue, 2 Sep 2014 02:33:04 +0000 (UTC) From: Brian Dolbec To: catalyst@gentoo.org, gentoo-catalyst@lists.gentoo.org Subject: [gentoo-catalyst] [PATCH 1/7] Remove unused urllib import. Date: Mon, 1 Sep 2014 19:31:35 -0700 Message-Id: <1409625101-27112-2-git-send-email-dolsen@gentoo.org> X-Mailer: git-send-email 1.9.3 In-Reply-To: <1409625101-27112-1-git-send-email-dolsen@gentoo.org> References: <1409625101-27112-1-git-send-email-dolsen@gentoo.org> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-catalyst@lists.gentoo.org Reply-to: gentoo-catalyst@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="------------1.9.3" X-Archives-Salt: a0d9641d-1b35-45ac-a0ae-9e73b7f31b43 X-Archives-Hash: 47166e16140566b4834a1c737dd0074e This is a multi-part message in MIME format. --------------1.9.3 Content-Type: text/plain; charset=UTF-8; format=fixed Content-Transfer-Encoding: 8bit This urllib import was added in commit 64c16cae70da13de3c55d8555a2e4c5dcdf2fcad to fix an issue, but it is not used. So must have covered up the real bug. Removing it now that I've completed some testing and haven't come across anything I can attribute to it. --- catalyst/support.py | 4 ---- 1 file changed, 4 deletions(-) --------------1.9.3 Content-Type: text/x-patch; name="0001-Remove-unused-urllib-import.patch" Content-Transfer-Encoding: 8bit Content-Disposition: inline; filename="0001-Remove-unused-urllib-import.patch" diff --git a/catalyst/support.py b/catalyst/support.py index 4fe4603..bc24130 100644 --- a/catalyst/support.py +++ b/catalyst/support.py @@ -23,10 +23,6 @@ except: # pids this process knows of. spawned_pids = [] -try: - import urllib -except SystemExit, e: - raise def cleanup(pids,block_exceptions=True): """function to go through and reap the list of pids passed to it""" --------------1.9.3--