diff options
author | Ed Bartosh <ed.bartosh@linux.intel.com> | 2015-04-09 14:36:49 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-04-13 22:28:33 +0100 |
commit | e07dd9b9c71960fbeded162ed52fbce06de620e9 (patch) | |
tree | aa1d921dda0ef092a655bf44d54f69d514ec6826 /scripts/lib/wic/utils/partitionedfs.py | |
parent | 9946909dc95c3274a98112cf786d171547b3ed75 (diff) | |
download | openembedded-core-e07dd9b9c71960fbeded162ed52fbce06de620e9.tar.gz |
wic:code cleanup: No space allowed
Fixed pylint warning
'No space allowed around keyword argument assignment'
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.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: self.partitions.append(part) self.__add_disk(part['disk_name']) - def add_partition(self, size, disk_name, mountpoint, source_file = None, fstype = None, - label=None, fsopts = None, boot = False, align = None, no_table=False, - part_type = None): + def add_partition(self, size, disk_name, mountpoint, source_file=None, fstype=None, + label=None, fsopts=None, boot=False, align=None, no_table=False, + part_type=None): """ Add the next partition. Prtitions have to be added in the first-to-last order. """ @@ -116,7 +116,7 @@ class Image: self.__add_partition(part) - def layout_partitions(self, ptable_format = "msdos"): + def layout_partitions(self, ptable_format="msdos"): """ Layout the partitions, meaning calculate the position of every partition on the disk. The 'ptable_format' parameter defines the partition table format and may be "msdos". """ |