1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-30 00:20:08 +00:00

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>
This commit is contained in:
Ed Bartosh
2015-04-09 14:36:49 +03:00
committed by Richard Purdie
parent 1521a3dda0
commit d0d0ab85c4
9 changed files with 59 additions and 59 deletions
+4 -4
View File
@@ -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". """