summaryrefslogtreecommitdiff
path: root/oe-init-build-env-memres
diff options
context:
space:
mode:
authorKai Kang <kai.kang@windriver.com>2014-07-30 14:26:27 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-08-02 09:21:14 +0100
commit03266e89a67ec1373529fae32b2cedff21414ff5 (patch)
treee50010c65442aaf70d114df59dcfa474e8581e18 /oe-init-build-env-memres
parent39cf9bcc28df7a4a37bc32e220ddc57b645350d4 (diff)
downloadopenembedded-core-03266e89a67ec1373529fae32b2cedff21414ff5.tar.gz
openembedded-core-03266e89a67ec1373529fae32b2cedff21414ff5.tar.bz2
openembedded-core-03266e89a67ec1373529fae32b2cedff21414ff5.zip
python-smartpm: fix option typo of command channel
When run smart, it fails: root@qemu1:~# smart channel --remove-all error: No action specified for command 'channel' If no default value of arg 'dest' is provided in method add_option() of optparse.OptionParser, it replaces hyphen('-') in new added option with underscore('_') as dest. In function ensure_action() it checks action strings with options from optparse.OptionParser. So it is 'remove_all' which need to be checked rather than 'remove-all'. Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'oe-init-build-env-memres')
0 files changed, 0 insertions, 0 deletions