diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-02-11 12:11:16 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-02-11 12:27:43 +0000 |
commit | 864797ab8d42488a811135db82c9f2e99f842178 (patch) | |
tree | ac12b46b160bd1de3bf7c786ce68e50f5626e058 /meta | |
parent | 7cd835177ae0208859f790c0c638cde908386d5c (diff) | |
download | poky-864797ab8d42488a811135db82c9f2e99f842178.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.
(From OE-Core rev: 3279386edb2d231ea19ebc2b66c19062305ddf8c)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/lib/oeqa/selftest/prservice.py | 2 |
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): | |||
34 | return str(stamps[0]) | 34 | return str(stamps[0]) |
35 | 35 | ||
36 | def increment_package_pr(self, package_name): | 36 | def increment_package_pr(self, package_name): |
37 | 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() | 37 | 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() |
38 | self.write_recipeinc(package_name, inc_data) | 38 | self.write_recipeinc(package_name, inc_data) |
39 | bitbake("-ccleansstate %s" % package_name) | 39 | bitbake("-ccleansstate %s" % package_name) |
40 | res = bitbake(package_name, ignore_status=True) | 40 | res = bitbake(package_name, ignore_status=True) |