From acb9800259c48c95b1088af39885ea6ef3d6ee6d Mon Sep 17 00:00:00 2001 From: Michael Marineau Date: Fri, 16 May 2014 17:40:35 -0700 Subject: [PATCH] fix(disk_util): Don't try to format blank partitions. --- build_library/disk_util | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build_library/disk_util b/build_library/disk_util index 5d220d755a..418c5e2857 100755 --- a/build_library/disk_util +++ b/build_library/disk_util @@ -432,7 +432,7 @@ def Format(options): WritePartitionTable(options, config, partitions) for part in partitions.itervalues(): - if 'fs_type' not in part: + if part['type'] == 'blank' or 'fs_type' not in part: continue print "Formatting partition %s (%s) as %s" % (