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/conf.py | |
| parent | 335aa0fee865c23a067562323641bef1dcae687e (diff) | |
| download | poky-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/conf.py')
| -rw-r--r-- | scripts/lib/wic/conf.py | 26 |
1 files changed, 12 insertions, 14 deletions
diff --git a/scripts/lib/wic/conf.py b/scripts/lib/wic/conf.py index ff6e2ca0f0..cecf396819 100644 --- a/scripts/lib/wic/conf.py +++ b/scripts/lib/wic/conf.py | |||
| @@ -30,20 +30,18 @@ def get_siteconf(): | |||
| 30 | return scripts_path + "/lib/image/config/wic.conf" | 30 | return scripts_path + "/lib/image/config/wic.conf" |
| 31 | 31 | ||
| 32 | class ConfigMgr(object): | 32 | class ConfigMgr(object): |
| 33 | DEFAULTS = {'common': { | 33 | DEFAULTS = { |
| 34 | "distro_name": "Default Distribution", | 34 | 'common': { |
| 35 | "plugin_dir": "/usr/lib/wic/plugins", # TODO use prefix also? | 35 | "distro_name": "Default Distribution", |
| 36 | }, | 36 | "plugin_dir": "/usr/lib/wic/plugins"}, # TODO use prefix also? |
| 37 | 'create': { | 37 | 'create': { |
| 38 | "tmpdir": '/var/tmp/wic', | 38 | "tmpdir": '/var/tmp/wic', |
| 39 | "outdir": './wic-output', | 39 | "outdir": './wic-output', |
| 40 | 40 | "release": None, | |
| 41 | "release": None, | 41 | "logfile": None, |
| 42 | "logfile": None, | 42 | "name_prefix": None, |
| 43 | "name_prefix": None, | 43 | "name_suffix": None} |
| 44 | "name_suffix": None, | 44 | } |
| 45 | }, | ||
| 46 | } | ||
| 47 | 45 | ||
| 48 | # make the manager class as singleton | 46 | # make the manager class as singleton |
| 49 | _instance = None | 47 | _instance = None |
