bitbake: lib/bb/siggen: replace tabs with spaces
We had one section of the code mixing tabs with spaces, which is particularly undesirable with python code. (Bitbake rev: 8eaa093b179e03a6003a47220540b1bc73afca17) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
56a66a1fab
commit
b7bd852db1
|
@ -185,8 +185,8 @@ class SignatureGeneratorBasic(SignatureGenerator):
|
||||||
if task in dataCache.file_checksums[fn]:
|
if task in dataCache.file_checksums[fn]:
|
||||||
checksums = bb.fetch2.get_file_checksums(dataCache.file_checksums[fn][task], recipename)
|
checksums = bb.fetch2.get_file_checksums(dataCache.file_checksums[fn][task], recipename)
|
||||||
for (f,cs) in checksums:
|
for (f,cs) in checksums:
|
||||||
self.file_checksum_values[k][f] = cs
|
self.file_checksum_values[k][f] = cs
|
||||||
data = data + cs
|
data = data + cs
|
||||||
|
|
||||||
taint = self.read_taint(fn, task, dataCache.stamp[fn])
|
taint = self.read_taint(fn, task, dataCache.stamp[fn])
|
||||||
if taint:
|
if taint:
|
||||||
|
@ -372,24 +372,24 @@ def compare_sigfiles(a, b):
|
||||||
changed, added, removed = dict_diff(a, b)
|
changed, added, removed = dict_diff(a, b)
|
||||||
if added:
|
if added:
|
||||||
for dep in added:
|
for dep in added:
|
||||||
bdep_found = False
|
bdep_found = False
|
||||||
if removed:
|
if removed:
|
||||||
for bdep in removed:
|
for bdep in removed:
|
||||||
if a[dep] == b[bdep]:
|
if a[dep] == b[bdep]:
|
||||||
#print "Dependency on task %s was replaced by %s with same hash" % (dep, bdep)
|
#print "Dependency on task %s was replaced by %s with same hash" % (dep, bdep)
|
||||||
bdep_found = True
|
bdep_found = True
|
||||||
if not bdep_found:
|
if not bdep_found:
|
||||||
print "Dependency on task %s was added with hash %s" % (dep, a[dep])
|
print "Dependency on task %s was added with hash %s" % (dep, a[dep])
|
||||||
if removed:
|
if removed:
|
||||||
for dep in removed:
|
for dep in removed:
|
||||||
adep_found = False
|
adep_found = False
|
||||||
if added:
|
if added:
|
||||||
for adep in added:
|
for adep in added:
|
||||||
if a[adep] == b[dep]:
|
if a[adep] == b[dep]:
|
||||||
#print "Dependency on task %s was replaced by %s with same hash" % (adep, dep)
|
#print "Dependency on task %s was replaced by %s with same hash" % (adep, dep)
|
||||||
adep_found = True
|
adep_found = True
|
||||||
if not adep_found:
|
if not adep_found:
|
||||||
print "Dependency on task %s was removed with hash %s" % (dep, b[dep])
|
print "Dependency on task %s was removed with hash %s" % (dep, b[dep])
|
||||||
if changed:
|
if changed:
|
||||||
for dep in changed:
|
for dep in changed:
|
||||||
print "Hash for dependent task %s changed from %s to %s" % (dep, a[dep], b[dep])
|
print "Hash for dependent task %s changed from %s to %s" % (dep, a[dep], b[dep])
|
||||||
|
|
Loading…
Reference in New Issue