diff options
author | Ed Bartosh <ed.bartosh@linux.intel.com> | 2015-06-29 18:01:42 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-07-02 23:08:38 +0100 |
commit | 34172ef8056244a89cccbbc76de91eca7bc8b0c0 (patch) | |
tree | 91e551985b03e728e4bd1df6acee44f7dc8c7d22 /scripts/lib/wic/utils | |
parent | 335aa0fee865c23a067562323641bef1dcae687e (diff) | |
download | openembedded-core-contrib-34172ef8056244a89cccbbc76de91eca7bc8b0c0.tar.gz |
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>
Diffstat (limited to 'scripts/lib/wic/utils')
-rw-r--r-- | scripts/lib/wic/utils/partitionedfs.py | 5 | ||||
-rw-r--r-- | scripts/lib/wic/utils/runner.py | 2 |
2 files changed, 3 insertions, 4 deletions
diff --git a/scripts/lib/wic/utils/partitionedfs.py b/scripts/lib/wic/utils/partitionedfs.py index ca4b1f06c0..2f884a3cb8 100644 --- a/scripts/lib/wic/utils/partitionedfs.py +++ b/scripts/lib/wic/utils/partitionedfs.py @@ -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" diff --git a/scripts/lib/wic/utils/runner.py b/scripts/lib/wic/utils/runner.py index 2ae9f417c5..8d48f68034 100644 --- a/scripts/lib/wic/utils/runner.py +++ b/scripts/lib/wic/utils/runner.py @@ -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::' |