Gentoo Archives: gentoo-catalyst

From: Brian Dolbec <dolsen@g.o>
To: gentoo-catalyst@l.g.o
Cc: Brian Dolbec <dolsen@g.o>
Subject: [gentoo-catalyst] [PATCH 1/3] Remove unused urllib import.
Date: Sat, 14 Dec 2013 03:28:44
Message-Id: 1386991708-9385-2-git-send-email-dolsen@gentoo.org
In Reply to: [gentoo-catalyst] rewite-on-master patches round-3 by Brian Dolbec
1 This urllib import was added in commit 64c16cae70da13de3c55d8555a2e4c5dcdf2fcad
2 to fix an issue, but it is not used. So must have covered up the real bug. Removing it now
3 that I've completed some testing and haven't come across anything I can attribute to it.
4 ---
5 catalyst/support.py | 4 ----
6 1 file changed, 4 deletions(-)
7
8 diff --git a/catalyst/support.py b/catalyst/support.py
9 index 316dfa3..0ddf98d 100644
10 --- a/catalyst/support.py
11 +++ b/catalyst/support.py
12 @@ -18,10 +18,6 @@ except:
13 # pids this process knows of.
14 spawned_pids = []
15
16 -try:
17 - import urllib
18 -except SystemExit, e:
19 - raise
20
21 def cleanup(pids,block_exceptions=True):
22 """function to go through and reap the list of pids passed to it"""
23 --
24 1.8.3.2