summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bitbake-dev/lib/bb/runqueue.py2
-rw-r--r--bitbake/lib/bb/runqueue.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/bitbake-dev/lib/bb/runqueue.py b/bitbake-dev/lib/bb/runqueue.py
index 4130b5064..26e4c32f8 100644
--- a/bitbake-dev/lib/bb/runqueue.py
+++ b/bitbake-dev/lib/bb/runqueue.py
@@ -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
diff --git a/bitbake/lib/bb/runqueue.py b/bitbake/lib/bb/runqueue.py
index b697cee53..62bd10ae2 100644
--- a/bitbake/lib/bb/runqueue.py
+++ b/bitbake/lib/bb/runqueue.py
@@ -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