summaryrefslogtreecommitdiff
path: root/meta/classes/sanity.bbclass
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2016-03-24 22:40:08 +1300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-03-26 22:49:36 +0000
commit8cdb505bb3d9748be1744f36cbbfb4f62fa20b67 (patch)
treefe2a35994c012a569f460621c69e4f156d66ba95 /meta/classes/sanity.bbclass
parentada4639f1e2952e144ea7dfb2a784181d7fcc96a (diff)
downloadopenembedded-core-8cdb505bb3d9748be1744f36cbbfb4f62fa20b67.tar.gz
openembedded-core-8cdb505bb3d9748be1744f36cbbfb4f62fa20b67.tar.bz2
openembedded-core-8cdb505bb3d9748be1744f36cbbfb4f62fa20b67.zip
classes/sanity: use proper multi-line string literals
A python string literal isn't meant to be split over multiple lines unless it is explicitly multi-line. Use three quotes to indicate that. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/sanity.bbclass')
-rw-r--r--meta/classes/sanity.bbclass8
1 files changed, 4 insertions, 4 deletions
diff --git a/meta/classes/sanity.bbclass b/meta/classes/sanity.bbclass
index 900d97a33e..a400bcadd0 100644
--- a/meta/classes/sanity.bbclass
+++ b/meta/classes/sanity.bbclass
@@ -42,7 +42,7 @@ python oecore_update_localconf() {
current_conf = d.getVar('CONF_VERSION', True)
conf_version = d.getVar('LOCALCONF_VERSION', True)
- failmsg = "Your version of local.conf was generated from an older/newer version of
+ failmsg = """Your version of local.conf was generated from an older/newer version of
local.conf.sample and there have been updates made to this file. Please compare the two
files and merge any changes before continuing.
@@ -50,7 +50,7 @@ Matching the version numbers will remove this message.
\"${SANITY_DIFF_TOOL} conf/local.conf ${SANITY_LOCALCONF_SAMPLE}\"
-is a good way to visualise the changes."
+is a good way to visualise the changes."""
failmsg = d.expand(failmsg)
raise NotImplementedError(failmsg)
@@ -62,7 +62,7 @@ python oecore_update_siteconf() {
current_sconf = d.getVar('SCONF_VERSION', True)
sconf_version = d.getVar('SITE_CONF_VERSION', True)
- failmsg = "Your version of site.conf was generated from an older version of
+ failmsg = """Your version of site.conf was generated from an older version of
site.conf.sample and there have been updates made to this file. Please compare the two
files and merge any changes before continuing.
@@ -70,7 +70,7 @@ Matching the version numbers will remove this message.
\"${SANITY_DIFF_TOOL} conf/site.conf ${SANITY_SITECONF_SAMPLE}\"
-is a good way to visualise the changes."
+is a good way to visualise the changes."""
failmsg = d.expand(failmsg)
raise NotImplementedError(failmsg)