]> code.ossystems Code Review - openembedded-core.git/commitdiff
bitbake: Fix nostamp flag handling bug
authorRichard Purdie <richard@openedhand.com>
Wed, 1 Oct 2008 13:55:17 +0000 (13:55 +0000)
committerRichard Purdie <richard@openedhand.com>
Wed, 1 Oct 2008 13:55:17 +0000 (13:55 +0000)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5368 311d38ba-8fff-0310-9ca6-ca027cbcb966

bitbake-dev/lib/bb/runqueue.py
bitbake/lib/bb/runqueue.py

index 4130b506418f5274bf24bf7f6ad34482f296171d..26e4c32f88ed61fca47185fb8626dfaeb970be67 100644 (file)
@@ -825,7 +825,7 @@ class RunQueue:
             return False
         # If its a 'nostamp' task, it's not current
         taskdep = self.dataCache.task_deps[fn]
-        if 'nostamp' in taskdep and task in taskdep['nostamp']:
+        if 'nostamp' in taskdep and taskname in taskdep['nostamp']:
             bb.msg.debug(2, bb.msg.domain.RunQueue, "%s.%s is nostamp\n" % (fn, taskname))
             return False
 
index b697cee5367f096ac6e6a254553179bf39d5f594..62bd10ae24dd1397759395fe471b3717089757d1 100644 (file)
@@ -805,7 +805,7 @@ class RunQueue:
             return False
         # If its a 'nostamp' task, it's not current
         taskdep = self.dataCache.task_deps[fn]
-        if 'nostamp' in taskdep and task in taskdep['nostamp']:
+        if 'nostamp' in taskdep and taskname in taskdep['nostamp']:
             bb.msg.debug(2, bb.msg.domain.RunQueue, "%s.%s is nostamp\n" % (fn, taskname))
             return False