[meta-virtualization] [meta-cloud-services][PATCH] identity.bbclass: Fix python synthax error

Bruce Ashfield bruce.ashfield at gmail.com
Thu Sep 22 07:02:54 PDT 2016


merged.

Bruce

On Tue, Sep 20, 2016 at 5:27 AM, Adrian Dudau <adrian.dudau at enea.com> wrote:

> Signed-off-by: Adrian Dudau <adrian.dudau at enea.com>
> ---
>  meta-openstack/classes/identity.bbclass | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/meta-openstack/classes/identity.bbclass
> b/meta-openstack/classes/identity.bbclass
> index 672f6c4..3601f52 100644
> --- a/meta-openstack/classes/identity.bbclass
> +++ b/meta-openstack/classes/identity.bbclass
> @@ -85,7 +85,7 @@ def sanity_check(d):
>      for pkg in servicecreate_packages.split():
>          # User parameters checking.
>          if not d.getVar('USERCREATE_PARAM_%s' % pkg, True) and not
> d.getVar('SERVICECREATE_PARAM_%s' % pkg, True):
> -            raise bb.build.FuncFailed, "%s SERVICECREATE_PACKAGES
> includes %s, but neither USERCREATE_PARAM_%s nor SERVICECREATE_PARAM_%s is
> set" % (d.getVar('FILE'), pkg, pkg, pkg)
> +            raise bb.build.FuncFailed("%s SERVICECREATE_PACKAGES includes
> %s, but neither USERCREATE_PARAM_%s nor SERVICECREATE_PARAM_%s is set" %
> (d.getVar('FILE'), pkg, pkg, pkg))
>
>  python __anonymous() {
>      sanity_check(d)
> --
> 1.9.1
>
> --
> _______________________________________________
> meta-virtualization mailing list
> meta-virtualization at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-virtualization
>



-- 
"Thou shalt not follow the NULL pointer, for chaos and madness await thee
at its end"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-virtualization/attachments/20160922/50b69ea8/attachment.html>


More information about the meta-virtualization mailing list