summaryrefslogtreecommitdiffstats
path: root/scripts/wic
diff options
context:
space:
mode:
authorEd Bartosh <ed.bartosh@linux.intel.com>2015-09-02 13:58:13 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-09-02 23:46:51 +0100
commit3644b9f5ca25dfc61d4f5eda0f073c8a879b492b (patch)
treed7cf7cfdb2e98ca65b9d11c5fdf1c72a8b002c5e /scripts/wic
parent41e319730cdd9c320ae4d855df7aaff6f1679aaf (diff)
downloadopenembedded-core-contrib-3644b9f5ca25dfc61d4f5eda0f073c8a879b492b.tar.gz
openembedded-core-contrib-3644b9f5ca25dfc61d4f5eda0f073c8a879b492b.tar.bz2
openembedded-core-contrib-3644b9f5ca25dfc61d4f5eda0f073c8a879b492b.zip
wic: fix pylint warning unused-variable
Removed or reworked code with unused variables. 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-xscripts/wic2
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):
parser.disable_interspersed_args()
- (options, args) = parser.parse_args(argv)
+ args = parser.parse_args(argv)[1]
if len(args):
if args[0] == "help":