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:
Ed Bartosh
2015-06-29 18:01:42 +03:00
committed by Richard Purdie
parent 335aa0fee8
commit 34172ef805
10 changed files with 67 additions and 48 deletions

View File

@@ -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"

View File

@@ -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::'