summaryrefslogtreecommitdiffstats
path: root/scripts/lib/wic/utils/partitionedfs.py
diff options
context:
space:
mode:
authorEd Bartosh <ed.bartosh@linux.intel.com>2015-04-09 14:36:49 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-04-13 22:33:20 +0100
commitd0d0ab85c49d7a874bef8b8d8844bbe9b1dc0c49 (patch)
tree7907a4a29e7d02b43af97f6f12c156519517438f /scripts/lib/wic/utils/partitionedfs.py
parent1521a3dda0a6ebcedb52f4a410f705c8d68d0a11 (diff)
downloadpoky-d0d0ab85c49d7a874bef8b8d8844bbe9b1dc0c49.tar.gz
wic:code cleanup: No space allowed
Fixed pylint warning 'No space allowed around keyword argument assignment' (From OE-Core rev: e07dd9b9c71960fbeded162ed52fbce06de620e9) Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/wic/utils/partitionedfs.py')
-rw-r--r--scripts/lib/wic/utils/partitionedfs.py8
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". """