From 918c1b2a985bbf003fbabfa861dd0db492edd3d3 Mon Sep 17 00:00:00 2001 From: Thierry Parmentelat Date: Thu, 6 Jan 2011 11:04:48 +0100 Subject: [PATCH] cosmetic --- source/steps/InstallPartitionDisks.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.43.0