diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2013-02-08 09:16:51 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-02-11 14:34:06 +0000 |
commit | 69caf24112c11609eb351bea09817029bca0ff2e (patch) | |
tree | a8daf4723ca0940227cb0e06aa1b076585f101da /meta/recipes-devtools/python/python-smartpm_1.4.1.bb | |
parent | 883666821ec46483bbfb9b3cb84c5afa8118a553 (diff) | |
download | openembedded-core-69caf24112c11609eb351bea09817029bca0ff2e.tar.gz openembedded-core-69caf24112c11609eb351bea09817029bca0ff2e.tar.bz2 openembedded-core-69caf24112c11609eb351bea09817029bca0ff2e.zip |
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].
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/python/python-smartpm_1.4.1.bb')
-rw-r--r-- | meta/recipes-devtools/python/python-smartpm_1.4.1.bb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python-smartpm_1.4.1.bb b/meta/recipes-devtools/python/python-smartpm_1.4.1.bb index 06641adc4c..d92933fa3a 100644 --- a/meta/recipes-devtools/python/python-smartpm_1.4.1.bb +++ b/meta/recipes-devtools/python/python-smartpm_1.4.1.bb @@ -26,6 +26,7 @@ SRC_URI = "\ file://smart-metadata-match.patch \ file://smart-improve-error-reporting.patch \ file://smart-multilib-fixes.patch \ + file://smart-yaml-error.patch \ " SRC_URI[md5sum] = "573ef32ba177a6b3c4bf7ef04873fcb6" |