summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/event.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/bb/event.py')
-rw-r--r--bitbake/lib/bb/event.py5
1 files changed, 2 insertions, 3 deletions
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.
23# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 23# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
24 24
25import os, re 25import os, re
26import bb.data
27import bb.utils 26import bb.utils
28 27
29class Event: 28class Event:
30 """Base class for events""" 29 """Base class for events"""
31 type = "Event" 30 type = "Event"
32 31
33 def __init__(self, d = bb.data.init()): 32 def __init__(self, d):
34 self._data = d 33 self._data = d
35 34
36 def getData(self): 35 def getData(self):
@@ -129,7 +128,7 @@ def getName(e):
129class PkgBase(Event): 128class PkgBase(Event):
130 """Base class for package events""" 129 """Base class for package events"""
131 130
132 def __init__(self, t, d = bb.data.init()): 131 def __init__(self, t, d):
133 self._pkg = t 132 self._pkg = t
134 Event.__init__(self, d) 133 Event.__init__(self, d)
135 134