Gentoo Archives: gentoo-catalyst

From: Dylan Baker <baker.dylan.c@×××××.com>
To: gentoo-catalyst@l.g.o
Cc: Dylan Baker <baker.dylan.c@×××××.com>
Subject: [gentoo-catalyst] [Patch v2 4/4] catalyst: Remove commented sections of code
Date: Sun, 13 Oct 2013 09:07:56
Message-Id: 1381655258-6084-4-git-send-email-baker.dylan.c@gmail.com
In Reply to: [gentoo-catalyst] [Patch v2 1/4] catalyst: Specify python2 rather than the generic python by Dylan Baker
1 Code in the upstream tree should either run or it shouldn't be there.
2 ---
3 catalyst | 25 -------------------------
4 1 file changed, 25 deletions(-)
5
6 diff --git a/catalyst b/catalyst
7 index 36bd709..68fa109 100755
8 --- a/catalyst
9 +++ b/catalyst
10 @@ -128,10 +128,6 @@ def parse_config(myconfig):
11 print "Cleaning autoresume flags support enabled."
12 conf_values["CLEAR_AUTORESUME"]="1"
13
14 -# if "compress" in string.split(conf_values["options"]):
15 -# print "Compression enabled."
16 -# conf_values["COMPRESS"]="1"
17 -
18 if "distcc" in string.split(conf_values["options"]):
19 print "Distcc support enabled."
20 conf_values["DISTCC"]="1"
21 @@ -164,10 +160,6 @@ def parse_config(myconfig):
22 print "Snapshot cache support enabled."
23 conf_values["SNAPCACHE"]="1"
24
25 -# if "tarball" in string.split(conf_values["options"]):
26 -# print "Tarball creation enabled."
27 -# conf_values["TARBALL"]="1"
28 -
29 if "digests" in myconf:
30 conf_values["digests"]=myconf["digests"]
31 if "contents" in myconf:
32 @@ -414,20 +406,3 @@ if __name__ == "__main__":
33 print "Catalyst aborting...."
34 raise
35 sys.exit(2)
36 -
37 - #except CatalystError:
38 - # print
39 - # print "Catalyst aborting...."
40 - # sys.exit(2)
41 - #except KeyError:
42 - # print "\nproblem with command line or spec file ( Key Error )"
43 - # print "Key: "+str(sys.exc_value)+" was not found"
44 - # print "Catalyst aborting...."
45 - # sys.exit(2)
46 - #except UnboundLocalError:
47 - # print
48 - # print "UnboundLocalError: "+str(sys.exc_value)+" was not found"
49 - # raise
50 - # print
51 - # print "Catalyst aborting...."
52 - # sys.exit(2)
53 --
54 1.8.1.5