diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-05-07 13:55:53 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-05-09 14:06:51 +0100 |
commit | c3d18afaa54fe81aef80e45ec3564f7318dd4966 (patch) | |
tree | 84bb27fa41c7a29e2e3a6351792e4fd6df4fcd66 /meta/recipes-devtools/cmake | |
parent | db8217f6b89be11a17e9f3cba7d98be64d8aded1 (diff) | |
download | poky-c3d18afaa54fe81aef80e45ec3564f7318dd4966.tar.gz |
classes/recipes/lib: Fix various python whitespace issues
There are some left over tab characters in the python functions. This
removes them and resolves python 3 errors.
(From OE-Core rev: fafeb381c48291fa65c634c01c244843c8d7fad3)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/cmake')
-rw-r--r-- | meta/recipes-devtools/cmake/cmake_2.8.10.2.bb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-devtools/cmake/cmake_2.8.10.2.bb b/meta/recipes-devtools/cmake/cmake_2.8.10.2.bb index ce398ddc1b..65f75b4dca 100644 --- a/meta/recipes-devtools/cmake/cmake_2.8.10.2.bb +++ b/meta/recipes-devtools/cmake/cmake_2.8.10.2.bb | |||
@@ -17,11 +17,11 @@ python () { | |||
17 | docdir=d.getVar("docdir", True) | 17 | docdir=d.getVar("docdir", True) |
18 | 18 | ||
19 | if not docdir.startswith(prefix): | 19 | if not docdir.startswith(prefix): |
20 | raise bb.build.FuncFailed('docdir must contain prefix as its prefix') | 20 | raise bb.build.FuncFailed('docdir must contain prefix as its prefix') |
21 | 21 | ||
22 | docdir_stripped = docdir[len(prefix):] | 22 | docdir_stripped = docdir[len(prefix):] |
23 | if len(docdir_stripped) > 0 and docdir_stripped[0] == '/': | 23 | if len(docdir_stripped) > 0 and docdir_stripped[0] == '/': |
24 | docdir_stripped = docdir_stripped[1:] | 24 | docdir_stripped = docdir_stripped[1:] |
25 | 25 | ||
26 | d.setVar("docdir_stripped", docdir_stripped) | 26 | d.setVar("docdir_stripped", docdir_stripped) |
27 | } | 27 | } |