From: Xavi Leon Date: Tue, 29 Nov 2011 22:59:12 +0000 (-0500) Subject: A couple of minor bugs fixed. X-Git-Tag: lxcbuild^0 X-Git-Url: http://git.onelab.eu/?p=bootmanager.git;a=commitdiff_plain;h=89d9c16f082121082cba04842d652a3db89bcb5f A couple of minor bugs fixed. --- diff --git a/source/steps/InstallBootstrapFS.py b/source/steps/InstallBootstrapFS.py index d8d3911..bc46450 100644 --- a/source/steps/InstallBootstrapFS.py +++ b/source/steps/InstallBootstrapFS.py @@ -174,7 +174,7 @@ def Run( vars, log ): shutil.copy("/usr/bootme/pubring.gpg", SYSIMG_PATH + "/usr/boot/pubring.gpg") # Creating /cgroup directory - if not os.path.exists(SYSIMG_PATH + "/cgroup") + if not os.path.exists(SYSIMG_PATH + "/cgroup"): utils.makedirs(SYSIMG_PATH + "/cgroup") # For backward compatibility diff --git a/source/steps/ValidateNodeInstall.py b/source/steps/ValidateNodeInstall.py index dfe52bb..49ce35b 100644 --- a/source/steps/ValidateNodeInstall.py +++ b/source/steps/ValidateNodeInstall.py @@ -83,7 +83,7 @@ def Run( vars, log ): utils.makedirs( SYSIMG_PATH ) - for filesystem in ("root"): + for filesystem in ["root"]: try: # first run fsck to prevent fs corruption from hanging mount... log.write( "fsck %s file system\n" % filesystem )