1 |
commit: 1f277353bdba2a4a83cc8b95cb69e2d5cab0eb25 |
2 |
Author: Dylan Baker <baker.dylan.c <AT> gmail <DOT> com> |
3 |
AuthorDate: Sun Oct 13 09:07:38 2013 +0000 |
4 |
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Oct 26 17:22:56 2013 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/catalyst.git;a=commit;h=1f277353 |
7 |
|
8 |
catalyst: Remove commented sections of code |
9 |
|
10 |
Code in the upstream tree should either run or it shouldn't be there. |
11 |
|
12 |
Reviewed-by: Matt Turner <mattst88 <AT> gmail.com> |
13 |
|
14 |
--- |
15 |
catalyst | 25 ------------------------- |
16 |
1 file changed, 25 deletions(-) |
17 |
|
18 |
diff --git a/catalyst b/catalyst |
19 |
index 36bd709..68fa109 100755 |
20 |
--- a/catalyst |
21 |
+++ b/catalyst |
22 |
@@ -128,10 +128,6 @@ def parse_config(myconfig): |
23 |
print "Cleaning autoresume flags support enabled." |
24 |
conf_values["CLEAR_AUTORESUME"]="1" |
25 |
|
26 |
-# if "compress" in string.split(conf_values["options"]): |
27 |
-# print "Compression enabled." |
28 |
-# conf_values["COMPRESS"]="1" |
29 |
- |
30 |
if "distcc" in string.split(conf_values["options"]): |
31 |
print "Distcc support enabled." |
32 |
conf_values["DISTCC"]="1" |
33 |
@@ -164,10 +160,6 @@ def parse_config(myconfig): |
34 |
print "Snapshot cache support enabled." |
35 |
conf_values["SNAPCACHE"]="1" |
36 |
|
37 |
-# if "tarball" in string.split(conf_values["options"]): |
38 |
-# print "Tarball creation enabled." |
39 |
-# conf_values["TARBALL"]="1" |
40 |
- |
41 |
if "digests" in myconf: |
42 |
conf_values["digests"]=myconf["digests"] |
43 |
if "contents" in myconf: |
44 |
@@ -414,20 +406,3 @@ if __name__ == "__main__": |
45 |
print "Catalyst aborting...." |
46 |
raise |
47 |
sys.exit(2) |
48 |
- |
49 |
- #except CatalystError: |
50 |
- # print |
51 |
- # print "Catalyst aborting...." |
52 |
- # sys.exit(2) |
53 |
- #except KeyError: |
54 |
- # print "\nproblem with command line or spec file ( Key Error )" |
55 |
- # print "Key: "+str(sys.exc_value)+" was not found" |
56 |
- # print "Catalyst aborting...." |
57 |
- # sys.exit(2) |
58 |
- #except UnboundLocalError: |
59 |
- # print |
60 |
- # print "UnboundLocalError: "+str(sys.exc_value)+" was not found" |
61 |
- # raise |
62 |
- # print |
63 |
- # print "Catalyst aborting...." |
64 |
- # sys.exit(2) |