* [PATCH] oeqa/prservice: Fix whitespace problem
@ 2016-02-11 12:11 Richard Purdie
0 siblings, 0 replies; only message in thread
From: Richard Purdie @ 2016-02-11 12:11 UTC (permalink / raw)
To: openembedded-core
Recent bitbake changes mean the whitespace formatting around the way functions are
defined, changed which broke the rather ugly construct this test uses to append to
a python function. This really needs to be rewritten and improved but fix the
whitespace so at least the tests work again and other regressions don't creep in.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
diff --git a/meta/lib/oeqa/selftest/prservice.py b/meta/lib/oeqa/selftest/prservice.py
index 4187fbf..f22288e 100644
--- a/meta/lib/oeqa/selftest/prservice.py
+++ b/meta/lib/oeqa/selftest/prservice.py
@@ -34,7 +34,7 @@ class BitbakePrTests(oeSelfTest):
return str(stamps[0])
def increment_package_pr(self, package_name):
- inc_data = "do_package_append() {\nbb.build.exec_func('do_test_prserv', d)\n}\ndo_test_prserv() {\necho \"The current date is: %s\"\n}" % datetime.datetime.now()
+ inc_data = "do_package_append() {\n bb.build.exec_func('do_test_prserv', d)\n}\ndo_test_prserv() {\necho \"The current date is: %s\"\n}" % datetime.datetime.now()
self.write_recipeinc(package_name, inc_data)
bitbake("-ccleansstate %s" % package_name)
res = bitbake(package_name, ignore_status=True)
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2016-02-11 12:11 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-11 12:11 [PATCH] oeqa/prservice: Fix whitespace problem Richard Purdie
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.