[poky] [PATCH 5/7] bb.cooker: remove bb.fetch.persistent_database_connection referrence

Yu Ke ke.yu at intel.com
Fri Jan 7 23:15:10 PST 2011


persistent_database_connection is already removed in bb.fetch,
so remove its referrence in bb.cooker accordingly.

Signed-off-by: Yu Ke <ke.yu at intel.com>
---
 bitbake/lib/bb/cooker.py |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)

diff --git a/bitbake/lib/bb/cooker.py b/bitbake/lib/bb/cooker.py
index 23fd72f..77544cd 100644
--- a/bitbake/lib/bb/cooker.py
+++ b/bitbake/lib/bb/cooker.py
@@ -644,9 +644,6 @@ class BBCooker:
         buildname = bb.data.getVar("BUILDNAME", self.configuration.data)
         bb.event.fire(bb.event.BuildStarted(buildname, [item]), self.configuration.event_data)
 
-        # Clear locks
-        bb.fetch.persistent_database_connection = {}
-
         # Execute the runqueue
         runlist = [[item, "do_%s" % task]]
 
@@ -728,9 +725,6 @@ class BBCooker:
             runlist.append([k, "do_%s" % task])
         taskdata.add_unresolved(localdata, self.status)
 
-        # Clear locks
-        bb.fetch.persistent_database_connection = {}
-
         rq = bb.runqueue.RunQueue(self, self.configuration.data, self.status, taskdata, runlist)
 
         self.server.register_idle_function(buildTargetsIdle, rq)
-- 
1.7.0.4




More information about the poky mailing list