catalyst: Remove commented sections of code
authorDylan Baker <baker.dylan.c@gmail.com>
Sun, 13 Oct 2013 09:07:38 +0000 (02:07 -0700)
committerMatt Turner <mattst88@gmail.com>
Sat, 26 Oct 2013 17:22:56 +0000 (10:22 -0700)
Code in the upstream tree should either run or it shouldn't be there.

Reviewed-by: Matt Turner <mattst88@gmail.com>
catalyst

index 36bd7097259044bfeecc61040789b100a337e714..68fa1092c38b53c7c5d8bb0906ebecd329dc631d 100755 (executable)
--- a/catalyst
+++ b/catalyst
@@ -128,10 +128,6 @@ def parse_config(myconfig):
                print "Cleaning autoresume flags support enabled."
                conf_values["CLEAR_AUTORESUME"]="1"
 
-#      if "compress" in string.split(conf_values["options"]):
-#              print "Compression enabled."
-#              conf_values["COMPRESS"]="1"
-
        if "distcc" in string.split(conf_values["options"]):
                print "Distcc support enabled."
                conf_values["DISTCC"]="1"
@@ -164,10 +160,6 @@ def parse_config(myconfig):
                print "Snapshot cache support enabled."
                conf_values["SNAPCACHE"]="1"
 
-#      if "tarball" in string.split(conf_values["options"]):
-#              print "Tarball creation enabled."
-#              conf_values["TARBALL"]="1"
-
        if "digests" in myconf:
                conf_values["digests"]=myconf["digests"]
        if "contents" in myconf:
@@ -414,20 +406,3 @@ if __name__ == "__main__":
                print "Catalyst aborting...."
                raise
                sys.exit(2)
-
-       #except CatalystError:
-       #       print
-       #       print "Catalyst aborting...."
-       #       sys.exit(2)
-       #except KeyError:
-       #       print "\nproblem with command line or spec file ( Key Error )"
-       #       print "Key: "+str(sys.exc_value)+" was not found"
-       #       print "Catalyst aborting...."
-       #       sys.exit(2)
-       #except UnboundLocalError:
-       #       print
-       #       print "UnboundLocalError: "+str(sys.exc_value)+" was not found"
-       #       raise
-       #       print
-       #       print "Catalyst aborting...."
-       #       sys.exit(2)