diff options
author | Ed Bartosh <ed.bartosh@linux.intel.com> | 2015-06-17 14:47:47 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-06-23 11:47:36 +0100 |
commit | a4da21d92f461e85e90a866f4a1da34ba1c9551a (patch) | |
tree | 79bbf1c403f08487f4a4c29327fff0e0758dbf7b /scripts/lib/wic/plugin.py | |
parent | 4862a4c33a461d0f4dd75843d2f0a8b03a593b05 (diff) | |
download | poky-a4da21d92f461e85e90a866f4a1da34ba1c9551a.tar.gz |
wic: code cleanup: superfluous-parens
Removed unncecessary parents after 'if' 'del' and 'print' keywords.
Fixed pyling warning: Unnecessary parens after 'xxx' keyword
(From OE-Core rev: a64604d11f75973b4c2347fa2669da9889e44013)
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/plugin.py')
-rw-r--r-- | scripts/lib/wic/plugin.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/lib/wic/plugin.py b/scripts/lib/wic/plugin.py index 9872d20985..fff02c063b 100644 --- a/scripts/lib/wic/plugin.py +++ b/scripts/lib/wic/plugin.py | |||
@@ -103,7 +103,7 @@ class PluginMgr(object): | |||
103 | % (os.path.basename(pdir), mod, err) | 103 | % (os.path.basename(pdir), mod, err) |
104 | msger.warning(msg) | 104 | msger.warning(msg) |
105 | 105 | ||
106 | del(sys.path[0]) | 106 | del sys.path[0] |
107 | 107 | ||
108 | def get_plugins(self, ptype): | 108 | def get_plugins(self, ptype): |
109 | """ the return value is dict of name:class pairs """ | 109 | """ the return value is dict of name:class pairs """ |