diff options
author | Ed Bartosh <ed.bartosh@linux.intel.com> | 2015-09-02 13:58:13 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-09-03 12:43:29 +0100 |
commit | e7287e5157eb8a1486b8896ae4c9a050b86562c7 (patch) | |
tree | 2a159f38b30b26cc94567dd419329a8eda566ed2 /scripts/wic | |
parent | e3a062ab1e90be6f6bed1e2facb9bfcbc0274f00 (diff) | |
download | poky-e7287e5157eb8a1486b8896ae4c9a050b86562c7.tar.gz |
wic: fix pylint warning unused-variable
Removed or reworked code with unused variables.
(From OE-Core rev: 3644b9f5ca25dfc61d4f5eda0f073c8a879b492b)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/wic')
-rwxr-xr-x | scripts/wic | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/wic b/scripts/wic index 94028e2b08..c99c5042bd 100755 --- a/scripts/wic +++ b/scripts/wic | |||
@@ -308,7 +308,7 @@ def main(argv): | |||
308 | 308 | ||
309 | parser.disable_interspersed_args() | 309 | parser.disable_interspersed_args() |
310 | 310 | ||
311 | (options, args) = parser.parse_args(argv) | 311 | args = parser.parse_args(argv)[1] |
312 | 312 | ||
313 | if len(args): | 313 | if len(args): |
314 | if args[0] == "help": | 314 | if args[0] == "help": |