From 89d9c16f082121082cba04842d652a3db89bcb5f Mon Sep 17 00:00:00 2001 From: Xavi Leon Date: Tue, 29 Nov 2011 17:59:12 -0500 Subject: [PATCH] A couple of minor bugs fixed. --- source/steps/InstallBootstrapFS.py | 2 +- source/steps/ValidateNodeInstall.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 ) -- 2.43.0