aboutsummaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2016-02-11 12:11:16 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-02-11 12:20:36 +0000
commit3279386edb2d231ea19ebc2b66c19062305ddf8c (patch)
tree3a45582f22576982dec3fd214fdc7c646a6b2c05 /meta/lib/oeqa
parent4bd658f7dae76ae8790fd1dfdd89fa58a456a0a4 (diff)
downloadopenembedded-core-3279386edb2d231ea19ebc2b66c19062305ddf8c.tar.gz
oeqa/prservice: Fix whitespace problem
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>
Diffstat (limited to 'meta/lib/oeqa')
-rw-r--r--meta/lib/oeqa/selftest/prservice.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/lib/oeqa/selftest/prservice.py b/meta/lib/oeqa/selftest/prservice.py
index 4187fbfeea..f22288eaf6 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)