diff options
| author | Richard Purdie <richard@openedhand.com> | 2007-04-01 15:04:49 +0000 |
|---|---|---|
| committer | Richard Purdie <richard@openedhand.com> | 2007-04-01 15:04:49 +0000 |
| commit | 7371e6323c3fb6b0545712e3cf84606644073e77 (patch) | |
| tree | e08f25669ec0f0e9d11334909f3b68c0ab6aca19 /bitbake/lib/bb/event.py | |
| parent | 8b36dc217443aeeec8493d39561d2bb010336774 (diff) | |
| download | poky-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.py | 5 |
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 | ||
| 25 | import os, re | 25 | import os, re |
| 26 | import bb.data | ||
| 27 | import bb.utils | 26 | import bb.utils |
| 28 | 27 | ||
| 29 | class Event: | 28 | class 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): | |||
| 129 | class PkgBase(Event): | 128 | class 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 | ||
