mixed spaces/tabs and indent cleanup.
authorBrian Dolbec <dolsen@gentoo.org>
Mon, 25 Feb 2013 00:29:52 +0000 (16:29 -0800)
committerW. Trevor King <wking@tremily.us>
Sun, 15 Dec 2013 04:25:07 +0000 (20:25 -0800)
catalyst/targets/livecd_stage2.py
catalyst/targets/netboot.py
catalyst/targets/netboot2.py
catalyst/targets/stage4.py
catalyst/targets/tinderbox.py

index b1db5586b3ebb28bdb4ab7e298b6f2450b6b365d..8aa6d778e35cffd25107ee27a375b12b109128d9 100644 (file)
@@ -50,7 +50,7 @@ class livecd_stage2(StageBase):
                                        print_traceback=True)
 
        def set_spec_prefix(self):
-           self.settings["spec_prefix"]="livecd"
+               self.settings["spec_prefix"]="livecd"
 
        def set_target_path(self):
                self.settings["target_path"]=normpath(self.settings["storedir"]+"/builds/"+self.settings["target_subpath"]+"/")
index 7ae1d7582f92f82e812b3158c4e7d5c5ebb573e6..de8dc858ae2c9e93f664d7a8c0eada12cbff9fdd 100644 (file)
@@ -122,13 +122,12 @@ class netboot(StageBase):
                        self.unbind()
                        raise CatalystError("netboot build aborting due to error.",
                                print_traceback=True)
-
                # end
                print "netboot: build finished !"
 
        def set_action_sequence(self):
-           self.settings["action_sequence"]=["unpack","unpack_snapshot",
-                                       "config_profile_link","setup_confdir","bind","chroot_setup",\
-                                               "setup_environment","build_packages","build_busybox",\
-                                               "build_kernel","copy_files_to_image",\
-                                               "clean","create_netboot_files","unbind","clear_autoresume"]
+               self.settings["action_sequence"]=["unpack","unpack_snapshot",
+                       "config_profile_link","setup_confdir","bind","chroot_setup",\
+                       "setup_environment","build_packages","build_busybox",\
+                       "build_kernel","copy_files_to_image",\
+                       "clean","create_netboot_files","unbind","clear_autoresume"]
index e8e7d22d2ced94d454679983e0afea7764ec62fc..f9b2a7b38b09882abf62e0d143c033fe13b629d0 100644 (file)
@@ -165,8 +165,8 @@ class netboot2(StageBase):
                touch(self.settings["autoresume_path"]+"empty")
 
        def set_action_sequence(self):
-           self.settings["action_sequence"]=["unpack","unpack_snapshot","config_profile_link",
-                                       "setup_confdir","portage_overlay","bind","chroot_setup",\
-                                       "setup_environment","build_packages","root_overlay",\
-                                       "copy_files_to_image","setup_overlay","build_kernel","move_kernels",\
-                                       "remove","empty","unbind","clean","clear_autoresume"]
+               self.settings["action_sequence"]=["unpack","unpack_snapshot","config_profile_link",
+                       "setup_confdir","portage_overlay","bind","chroot_setup",\
+                       "setup_environment","build_packages","root_overlay",\
+                       "copy_files_to_image","setup_overlay","build_kernel","move_kernels",\
+                       "remove","empty","unbind","clean","clear_autoresume"]
index f959c4a5b7789f910cbc17e9cd1c6686070156dc..310344ca0d2b105696d0686692690ba2668c1ceb 100644 (file)
@@ -15,10 +15,10 @@ class stage4(StageBase):
                self.required_values=["stage4/packages"]
                self.valid_values=self.required_values[:]
                self.valid_values.extend(["stage4/use","boot/kernel",\
-                               "stage4/root_overlay","stage4/fsscript",\
-                               "stage4/gk_mainargs","splash_theme",\
-                               "portage_overlay","stage4/rcadd","stage4/rcdel",\
-                               "stage4/linuxrc","stage4/unmerge","stage4/rm","stage4/empty"])
+                       "stage4/root_overlay","stage4/fsscript",\
+                       "stage4/gk_mainargs","splash_theme",\
+                       "portage_overlay","stage4/rcadd","stage4/rcdel",\
+                       "stage4/linuxrc","stage4/unmerge","stage4/rm","stage4/empty"])
                StageBase.__init__(self,spec,addlargs)
 
        def set_cleanables(self):
@@ -26,11 +26,11 @@ class stage4(StageBase):
 
        def set_action_sequence(self):
                self.settings["action_sequence"]=["unpack","unpack_snapshot",\
-                                       "config_profile_link","setup_confdir","portage_overlay",\
-                                       "bind","chroot_setup","setup_environment","build_packages",\
-                                       "build_kernel","bootloader","root_overlay","fsscript",\
-                                       "preclean","rcupdate","unmerge","unbind","remove","empty",\
-                                       "clean"]
+                       "config_profile_link","setup_confdir","portage_overlay",\
+                       "bind","chroot_setup","setup_environment","build_packages",\
+                       "build_kernel","bootloader","root_overlay","fsscript",\
+                       "preclean","rcupdate","unmerge","unbind","remove","empty",\
+                       "clean"]
 
 #              if "TARBALL" in self.settings or \
 #                      "fetch" not in self.settings['options']:
index f79a13ed1eb58ec572f2eb75f3c1b6cd0b5a08d4..ed1bc951ea028af6d3e66ba47ef281cc43c632ea 100644 (file)
@@ -26,7 +26,7 @@ class tinderbox(StageBase):
                # example call: "grp.sh run xmms vim sys-apps/gleep"
                try:
                        if os.path.exists(self.settings["controller_file"]):
-                           cmd(self.settings["controller_file"]+" run "+\
+                               cmd(self.settings["controller_file"]+" run "+\
                                list_bashify(self.settings["tinderbox/packages"]),"run script failed.",env=self.env)
 
                except CatalystError:
@@ -45,6 +45,6 @@ class tinderbox(StageBase):
        def set_action_sequence(self):
                #Default action sequence for run method
                self.settings["action_sequence"]=["unpack","unpack_snapshot",\
-                             "config_profile_link","setup_confdir","bind","chroot_setup",\
-                             "setup_environment","run_local","preclean","unbind","clean",\
-                             "clear_autoresume"]
+                       "config_profile_link","setup_confdir","bind","chroot_setup",\
+                       "setup_environment","run_local","preclean","unbind","clean",\
+                       "clear_autoresume"]