From 7371e6323c3fb6b0545712e3cf84606644073e77 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Sun, 1 Apr 2007 15:04:49 +0000 Subject: bitbake: Update to 1.8.1 (inc. various bug fixes, epoch support) git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1419 311d38ba-8fff-0310-9ca6-ca027cbcb966 --- bitbake/lib/bb/event.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'bitbake/lib/bb/event.py') diff --git a/bitbake/lib/bb/event.py b/bitbake/lib/bb/event.py index f1da98fd45..cfbda3e9fc 100644 --- a/bitbake/lib/bb/event.py +++ b/bitbake/lib/bb/event.py @@ -23,14 +23,13 @@ BitBake build tools. # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. import os, re -import bb.data import bb.utils class Event: """Base class for events""" type = "Event" - def __init__(self, d = bb.data.init()): + def __init__(self, d): self._data = d def getData(self): @@ -129,7 +128,7 @@ def getName(e): class PkgBase(Event): """Base class for package events""" - def __init__(self, t, d = bb.data.init()): + def __init__(self, t, d): self._pkg = t Event.__init__(self, d) -- cgit v1.2.3-54-g00ecf