summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/event.py
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2007-04-01 15:04:49 +0000
committerRichard Purdie <richard@openedhand.com>2007-04-01 15:04:49 +0000
commit7371e6323c3fb6b0545712e3cf84606644073e77 (patch)
treee08f25669ec0f0e9d11334909f3b68c0ab6aca19 /bitbake/lib/bb/event.py
parent8b36dc217443aeeec8493d39561d2bb010336774 (diff)
downloadpoky-7371e6323c3fb6b0545712e3cf84606644073e77.tar.gz
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
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