X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;ds=sidebyside;f=source%2Fsteps%2FInstallPartitionDisks.py;h=e40a2337e211d6c50089a0acdbe001302c8f4e83;hb=918c1b2a985bbf003fbabfa861dd0db492edd3d3;hp=7a31eea1fa45eb5cd0266fe1a65394cf902fc6bd;hpb=a7e1405eff489665fbef8518718cf60c3f965b54;p=bootmanager.git diff --git a/source/steps/InstallPartitionDisks.py b/source/steps/InstallPartitionDisks.py index 7a31eea..e40a233 100644 --- a/source/steps/InstallPartitionDisks.py +++ b/source/steps/InstallPartitionDisks.py @@ -203,7 +203,7 @@ def single_partition_device_1_x ( device, vars, log): lvm_flag= parted.partition_flag_get_by_name('lvm') try: - print >>log, "Using pyparted 1.x" + log.write("Using pyparted 1.x\n") # wipe the old partition table utils.sysexec( "dd if=/dev/zero of=%s bs=512 count=1" % device, log ) @@ -246,7 +246,7 @@ def single_partition_device_1_x ( device, vars, log): def single_partition_device_2_x ( device, vars, log): try: - print >>log, "Using pyparted 2.x" + log.write("Using pyparted 2.x\n") # wipe the old partition table utils.sysexec( "dd if=/dev/zero of=%s bs=512 count=1" % device, log ) # get the device