summaryrefslogtreecommitdiff
path: root/meta/classes/gtk-immodules-cache.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2013-05-07 13:55:56 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-05-09 14:04:18 +0100
commitf4b382754603d3f1caa13824bcc8d06b568bbc59 (patch)
treee44c1a10d5863dd96522d3642419413523c2ec90 /meta/classes/gtk-immodules-cache.bbclass
parentec74285bd2108f12f33fc8ac0dc1d124ab48be21 (diff)
downloadopenembedded-core-f4b382754603d3f1caa13824bcc8d06b568bbc59.tar.gz
openembedded-core-f4b382754603d3f1caa13824bcc8d06b568bbc59.tar.bz2
openembedded-core-f4b382754603d3f1caa13824bcc8d06b568bbc59.zip
classes: Use modern exception raising syntax
Modern expection rasing syntax is function call format, convert to this to keep python 3 happy and model correct coding style in the core. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/gtk-immodules-cache.bbclass')
-rw-r--r--meta/classes/gtk-immodules-cache.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/gtk-immodules-cache.bbclass b/meta/classes/gtk-immodules-cache.bbclass
index ed3069daaf..e11ed222d6 100644
--- a/meta/classes/gtk-immodules-cache.bbclass
+++ b/meta/classes/gtk-immodules-cache.bbclass
@@ -78,6 +78,6 @@ python __anonymous() {
gtkimmodules_check = d.getVar('GTKIMMODULES_PACKAGES')
if not gtkimmodules_check:
bb_filename = d.getVar('FILE')
- raise bb.build.FuncFailed, "\n\n\nERROR: %s inherits gtk-immodule-cache but doesn't set GTKIMMODULES_PACKAGE" % bb_filename
+ raise bb.build.FuncFailed("ERROR: %s inherits gtk-immodule-cache but doesn't set GTKIMMODULES_PACKAGE" % bb_filename)
}