python-smartpm: show friendly error if YAML output requested without PyYAML
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Fri, 8 Feb 2013 09:16:51 +0000 (09:16 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 11 Feb 2013 14:46:10 +0000 (14:46 +0000)
commitc9be57dce73e12238bee9ac9d0813f1d213f0f9f
treea172c509b019cf8eb2c62513b237b4268c2970b6
parent4e493e0c05905b9aab83997fa8f7686c2db2eb0d
python-smartpm: show friendly error if YAML output requested without PyYAML

Instead of a python backtrace, tell the user they need to install PyYAML
if they wish to use the --yaml output options.

Fixes [YOCTO #3768].

(From OE-Core rev: 69caf24112c11609eb351bea09817029bca0ff2e)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/python/python-smartpm/smart-yaml-error.patch [new file with mode: 0644]
meta/recipes-devtools/python/python-smartpm_1.4.1.bb