mirror of
https://git.yoctoproject.org/poky
synced 2026-05-04 13:39:49 +02:00
wic: Code cleanup: long lines, identation and whitespaces
Fixed pylint warnings bad-continuation, bad-continuation and line-too-long. (From OE-Core rev: db43e59f41b6bc19152cd4743585a3217015e272) Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
335aa0fee8
commit
34172ef805
@@ -302,9 +302,8 @@ class Image(object):
|
||||
msger.debug("partition %d: set UUID to %s" % \
|
||||
(p['num'], p['uuid']))
|
||||
exec_native_cmd("sgdisk --partition-guid=%d:%s %s" % \
|
||||
(p['num'], p['uuid'],
|
||||
d['disk'].device),
|
||||
self.native_sysroot)
|
||||
(p['num'], p['uuid'], d['disk'].device),
|
||||
self.native_sysroot)
|
||||
|
||||
if p['boot']:
|
||||
flag_name = "legacy_boot" if d['ptable_format'] == 'gpt' else "boot"
|
||||
|
||||
@@ -89,7 +89,7 @@ def show(cmdln_or_args):
|
||||
else:
|
||||
cmd = cmdln_or_args
|
||||
|
||||
msg = 'running command: "%s"' % cmd
|
||||
msg = 'running command: "%s"' % cmd
|
||||
if out: out = out.strip()
|
||||
if out:
|
||||
msg += ', with output::'
|
||||
|
||||
Reference in New Issue
Block a user