summaryrefslogtreecommitdiffstats
path: root/lib/bb/event.py
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2007-03-04 13:21:14 +0000
committerRichard Purdie <rpurdie@linux.intel.com>2007-03-04 13:21:14 +0000
commita4e1902ac27cf2bf9fc193d3e80d20aaaa4b154f (patch)
tree85851356b3c9acd765080552ad3487212a507c14 /lib/bb/event.py
parent97e3290a32c70fdc9b24d120311bb8daa0a76b11 (diff)
downloadbitbake-a4e1902ac27cf2bf9fc193d3e80d20aaaa4b154f.tar.gz
event.py: Remove data dependencies to resolve a dependency loop
Diffstat (limited to 'lib/bb/event.py')
-rw-r--r--lib/bb/event.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/bb/event.py b/lib/bb/event.py
index f1da98fd4..cfbda3e9f 100644
--- a/lib/bb/event.py
+++ b/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)