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/lib | |
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/lib')
-rw-r--r-- | meta/lib/oe/qa.py | 2 | ||||
-rw-r--r-- | meta/lib/oe/sstatesig.py | 20 |
2 files changed, 11 insertions, 11 deletions
diff --git a/meta/lib/oe/qa.py b/meta/lib/oe/qa.py index 4777ddc06a..c4376f0161 100644 --- a/meta/lib/oe/qa.py +++ b/meta/lib/oe/qa.py | |||
@@ -72,7 +72,7 @@ class ELFFile: | |||
72 | return ord(self.data[ELFFile.EI_ABIVERSION]) | 72 | return ord(self.data[ELFFile.EI_ABIVERSION]) |
73 | 73 | ||
74 | def abiSize(self): | 74 | def abiSize(self): |
75 | return self.bits | 75 | return self.bits |
76 | 76 | ||
77 | def isLittleEndian(self): | 77 | def isLittleEndian(self): |
78 | return self.sex == "<" | 78 | return self.sex == "<" |
diff --git a/meta/lib/oe/sstatesig.py b/meta/lib/oe/sstatesig.py index 79a410eecb..852fb7e64a 100644 --- a/meta/lib/oe/sstatesig.py +++ b/meta/lib/oe/sstatesig.py | |||
@@ -108,16 +108,16 @@ def find_siginfo(pn, taskname, taskhashlist, d): | |||
108 | foundall = False | 108 | foundall = False |
109 | import glob | 109 | import glob |
110 | for fullpath in glob.glob(filespec): | 110 | for fullpath in glob.glob(filespec): |
111 | match = False | 111 | match = False |
112 | if taskhashlist: | 112 | if taskhashlist: |
113 | for taskhash in taskhashlist: | 113 | for taskhash in taskhashlist: |
114 | if fullpath.endswith('.%s' % taskhash): | 114 | if fullpath.endswith('.%s' % taskhash): |
115 | hashfiles[taskhash] = fullpath | 115 | hashfiles[taskhash] = fullpath |
116 | if len(hashfiles) == len(taskhashlist): | 116 | if len(hashfiles) == len(taskhashlist): |
117 | foundall = True | 117 | foundall = True |
118 | break | 118 | break |
119 | else: | 119 | else: |
120 | filedates[fullpath] = os.stat(fullpath).st_mtime | 120 | filedates[fullpath] = os.stat(fullpath).st_mtime |
121 | 121 | ||
122 | if len(filedates) < 2 and not foundall: | 122 | if len(filedates) < 2 and not foundall: |
123 | # That didn't work, look in sstate-cache | 123 | # That didn't work, look in sstate-cache |