fix uuid KeyError
authorGui Chen <gui.chen@intel.com>
Mon, 26 Aug 2013 07:06:02 +0000 (03:06 -0400)
committerGui Chen <gui.chen@intel.com>
Mon, 26 Aug 2013 07:06:02 +0000 (03:06 -0400)
Signed-off-by: Gui Chen <gui.chen@intel.com>
mic/utils/partitionedfs.py

index 0661a21..e040310 100644 (file)
@@ -152,6 +152,7 @@ class PartitionedMount(Mount):
                      'boot': boot, # Bootable flag
                      'align': align, # Partition alignment
                      'part_type' : part_type, # Partition type
+                     'uuid': None, # Partition UUID (no-GPT use)
                      'partuuid': None } # Partition UUID (GPT-only)
 
             self.__add_partition(part)