diff options
-rw-r--r-- | bitbake/lib/bb/runqueue.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/runqueue.py b/bitbake/lib/bb/runqueue.py index 6372b65fd9..274ccf2673 100644 --- a/bitbake/lib/bb/runqueue.py +++ b/bitbake/lib/bb/runqueue.py | |||
@@ -139,7 +139,7 @@ class RunQueueScheduler(object): | |||
139 | bestprio = None | 139 | bestprio = None |
140 | for taskid in self.buildable: | 140 | for taskid in self.buildable: |
141 | prio = self.rev_prio_map[taskid] | 141 | prio = self.rev_prio_map[taskid] |
142 | if not bestprio or bestprio > prio: | 142 | if bestprio is None or bestprio > prio: |
143 | stamp = self.stamps[taskid] | 143 | stamp = self.stamps[taskid] |
144 | if stamp in self.rq.build_stamps.itervalues(): | 144 | if stamp in self.rq.build_stamps.itervalues(): |
145 | continue | 145 | continue |