]> code.ossystems Code Review - openembedded-core.git/commit
wic: override ArgumentParser.error
authorEd Bartosh <ed.bartosh@linux.intel.com>
Mon, 18 Jan 2016 12:22:45 +0000 (14:22 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 19 Jan 2016 16:35:38 +0000 (16:35 +0000)
commit373016ba08c2ec4dbcd44649d9c8cd57d5574402
treed972004af79c3da5734161063a595106b59f5e56
parent33d8784470c506fabcf9627e754628cdea61dd07
wic: override ArgumentParser.error

Overriden error method to throw exception instead of
printing usage error message. Exception is caught by
KickStart code to add .ks file name and line number.

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/lib/wic/kickstart.py