All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-cloud-services][PATCH] identity.bbclass: Fix python synthax error
@ 2016-09-20  9:27 Adrian Dudau
  2016-09-22 14:02 ` Bruce Ashfield
  0 siblings, 1 reply; 2+ messages in thread
From: Adrian Dudau @ 2016-09-20  9:27 UTC (permalink / raw)
  To: meta-virtualization

Signed-off-by: Adrian Dudau <adrian.dudau@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



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [meta-cloud-services][PATCH] identity.bbclass: Fix python synthax error
  2016-09-20  9:27 [meta-cloud-services][PATCH] identity.bbclass: Fix python synthax error Adrian Dudau
@ 2016-09-22 14:02 ` Bruce Ashfield
  0 siblings, 0 replies; 2+ messages in thread
From: Bruce Ashfield @ 2016-09-22 14:02 UTC (permalink / raw)
  To: Adrian Dudau; +Cc: meta-virtualization

[-- Attachment #1: Type: text/plain, Size: 1507 bytes --]

merged.

Bruce

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

> Signed-off-by: Adrian Dudau <adrian.dudau@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@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"

[-- Attachment #2: Type: text/html, Size: 2354 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-09-22 14:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-20  9:27 [meta-cloud-services][PATCH] identity.bbclass: Fix python synthax error Adrian Dudau
2016-09-22 14:02 ` Bruce Ashfield

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.