summaryrefslogtreecommitdiff
path: root/meta/lib
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2013-05-07 13:55:53 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-05-09 14:04:18 +0100
commitfafeb381c48291fa65c634c01c244843c8d7fad3 (patch)
tree41a94affedce2db29d42b4151dc7d40f0ded8223 /meta/lib
parentf4b382754603d3f1caa13824bcc8d06b568bbc59 (diff)
downloadopenembedded-core-fafeb381c48291fa65c634c01c244843c8d7fad3.tar.gz
openembedded-core-fafeb381c48291fa65c634c01c244843c8d7fad3.tar.bz2
openembedded-core-fafeb381c48291fa65c634c01c244843c8d7fad3.zip
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. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib')
-rw-r--r--meta/lib/oe/qa.py2
-rw-r--r--meta/lib/oe/sstatesig.py20
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:
return ord(self.data[ELFFile.EI_ABIVERSION])
def abiSize(self):
- return self.bits
+ return self.bits
def isLittleEndian(self):
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):
foundall = False
import glob
for fullpath in glob.glob(filespec):
- match = False
- if taskhashlist:
- for taskhash in taskhashlist:
- if fullpath.endswith('.%s' % taskhash):
- hashfiles[taskhash] = fullpath
- if len(hashfiles) == len(taskhashlist):
- foundall = True
- break
- else:
- filedates[fullpath] = os.stat(fullpath).st_mtime
+ match = False
+ if taskhashlist:
+ for taskhash in taskhashlist:
+ if fullpath.endswith('.%s' % taskhash):
+ hashfiles[taskhash] = fullpath
+ if len(hashfiles) == len(taskhashlist):
+ foundall = True
+ break
+ else:
+ filedates[fullpath] = os.stat(fullpath).st_mtime
if len(filedates) < 2 and not foundall:
# That didn't work, look in sstate-cache