summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2012-08-27 21:44:32 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-09-07 12:10:44 +0100
commitb7bd852db1495e4263319ee4ce1a927c9c49368b (patch)
tree0a4148edf1b286818cd440880549e632fb793f85 /bitbake
parent56a66a1fabc945cd3673786dd0e7b17eaddcd7dc (diff)
downloadpoky-b7bd852db1495e4263319ee4ce1a927c9c49368b.tar.gz
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>
Diffstat (limited to 'bitbake')
-rw-r--r--bitbake/lib/bb/siggen.py34
1 files changed, 17 insertions, 17 deletions
diff --git a/bitbake/lib/bb/siggen.py b/bitbake/lib/bb/siggen.py
index 02a426864f..b04a8bcecc 100644
--- a/bitbake/lib/bb/siggen.py
+++ b/bitbake/lib/bb/siggen.py
@@ -185,8 +185,8 @@ class SignatureGeneratorBasic(SignatureGenerator):
185 if task in dataCache.file_checksums[fn]: 185 if task in dataCache.file_checksums[fn]:
186 checksums = bb.fetch2.get_file_checksums(dataCache.file_checksums[fn][task], recipename) 186 checksums = bb.fetch2.get_file_checksums(dataCache.file_checksums[fn][task], recipename)
187 for (f,cs) in checksums: 187 for (f,cs) in checksums:
188 self.file_checksum_values[k][f] = cs 188 self.file_checksum_values[k][f] = cs
189 data = data + cs 189 data = data + cs
190 190
191 taint = self.read_taint(fn, task, dataCache.stamp[fn]) 191 taint = self.read_taint(fn, task, dataCache.stamp[fn])
192 if taint: 192 if taint:
@@ -372,24 +372,24 @@ def compare_sigfiles(a, b):
372 changed, added, removed = dict_diff(a, b) 372 changed, added, removed = dict_diff(a, b)
373 if added: 373 if added:
374 for dep in added: 374 for dep in added:
375 bdep_found = False 375 bdep_found = False
376 if removed: 376 if removed:
377 for bdep in removed: 377 for bdep in removed:
378 if a[dep] == b[bdep]: 378 if a[dep] == b[bdep]:
379 #print "Dependency on task %s was replaced by %s with same hash" % (dep, bdep) 379 #print "Dependency on task %s was replaced by %s with same hash" % (dep, bdep)
380 bdep_found = True 380 bdep_found = True
381 if not bdep_found: 381 if not bdep_found:
382 print "Dependency on task %s was added with hash %s" % (dep, a[dep]) 382 print "Dependency on task %s was added with hash %s" % (dep, a[dep])
383 if removed: 383 if removed:
384 for dep in removed: 384 for dep in removed:
385 adep_found = False 385 adep_found = False
386 if added: 386 if added:
387 for adep in added: 387 for adep in added:
388 if a[adep] == b[dep]: 388 if a[adep] == b[dep]:
389 #print "Dependency on task %s was replaced by %s with same hash" % (adep, dep) 389 #print "Dependency on task %s was replaced by %s with same hash" % (adep, dep)
390 adep_found = True 390 adep_found = True
391 if not adep_found: 391 if not adep_found:
392 print "Dependency on task %s was removed with hash %s" % (dep, b[dep]) 392 print "Dependency on task %s was removed with hash %s" % (dep, b[dep])
393 if changed: 393 if changed:
394 for dep in changed: 394 for dep in changed:
395 print "Hash for dependent task %s changed from %s to %s" % (dep, a[dep], b[dep]) 395 print "Hash for dependent task %s changed from %s to %s" % (dep, a[dep], b[dep])