diff options
Diffstat (limited to 'scripts/lib/wic/utils/partitionedfs.py')
-rw-r--r-- | scripts/lib/wic/utils/partitionedfs.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/lib/wic/utils/partitionedfs.py b/scripts/lib/wic/utils/partitionedfs.py index bb99c6a6c1..b9fbc16e12 100644 --- a/scripts/lib/wic/utils/partitionedfs.py +++ b/scripts/lib/wic/utils/partitionedfs.py | |||
@@ -86,9 +86,9 @@ class Image: | |||
86 | self.partitions.append(part) | 86 | self.partitions.append(part) |
87 | self.__add_disk(part['disk_name']) | 87 | self.__add_disk(part['disk_name']) |
88 | 88 | ||
89 | def add_partition(self, size, disk_name, mountpoint, source_file = None, fstype = None, | 89 | def add_partition(self, size, disk_name, mountpoint, source_file=None, fstype=None, |
90 | label=None, fsopts = None, boot = False, align = None, no_table=False, | 90 | label=None, fsopts=None, boot=False, align=None, no_table=False, |
91 | part_type = None): | 91 | part_type=None): |
92 | """ Add the next partition. Prtitions have to be added in the | 92 | """ Add the next partition. Prtitions have to be added in the |
93 | first-to-last order. """ | 93 | first-to-last order. """ |
94 | 94 | ||
@@ -116,7 +116,7 @@ class Image: | |||
116 | 116 | ||
117 | self.__add_partition(part) | 117 | self.__add_partition(part) |
118 | 118 | ||
119 | def layout_partitions(self, ptable_format = "msdos"): | 119 | def layout_partitions(self, ptable_format="msdos"): |
120 | """ Layout the partitions, meaning calculate the position of every | 120 | """ Layout the partitions, meaning calculate the position of every |
121 | partition on the disk. The 'ptable_format' parameter defines the | 121 | partition on the disk. The 'ptable_format' parameter defines the |
122 | partition table format and may be "msdos". """ | 122 | partition table format and may be "msdos". """ |