1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-30 12:29:55 +00: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:
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
+12 -14
View File
@@ -30,20 +30,18 @@ def get_siteconf():
return scripts_path + "/lib/image/config/wic.conf"
class ConfigMgr(object):
DEFAULTS = {'common': {
"distro_name": "Default Distribution",
"plugin_dir": "/usr/lib/wic/plugins", # TODO use prefix also?
},
'create': {
"tmpdir": '/var/tmp/wic',
"outdir": './wic-output',
"release": None,
"logfile": None,
"name_prefix": None,
"name_suffix": None,
},
}
DEFAULTS = {
'common': {
"distro_name": "Default Distribution",
"plugin_dir": "/usr/lib/wic/plugins"}, # TODO use prefix also?
'create': {
"tmpdir": '/var/tmp/wic',
"outdir": './wic-output',
"release": None,
"logfile": None,
"name_prefix": None,
"name_suffix": None}
}
# make the manager class as singleton
_instance = None