summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/event.py
diff options
context:
space:
mode:
authorAlexandru DAMIAN <alexandru.damian@intel.com>2014-07-18 12:07:22 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-07-23 20:07:48 +0100
commitf4456df240054dc96d19da5d117614f736da6b94 (patch)
treebe9a9888b57b212029d8cdad2e70b53ed560560a /bitbake/lib/bb/event.py
parent37d2066c83e9c29d10491f5d6f9410ce8fd6222a (diff)
downloadpoky-f4456df240054dc96d19da5d117614f736da6b94.tar.gz
bitbake: toasterui: fixing event.data clash
This patch fixes a name collision on the event.data in the MetadataEvent class. event.data is used in the event system as a copy of "d" in certain situations, and this collision triggered a bug leading to data loss. [YOCTO #6332] (Bitbake rev: 3f191b7cfe95aea4d4e96babf001d62d45dd3aaa) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/event.py')
-rw-r--r--bitbake/lib/bb/event.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/event.py b/bitbake/lib/bb/event.py
index 8b47ae5957..e2f6b9cad2 100644
--- a/bitbake/lib/bb/event.py
+++ b/bitbake/lib/bb/event.py
@@ -594,7 +594,7 @@ class MetadataEvent(Event):
594 def __init__(self, eventtype, eventdata): 594 def __init__(self, eventtype, eventdata):
595 Event.__init__(self) 595 Event.__init__(self)
596 self.type = eventtype 596 self.type = eventtype
597 self.data = eventdata 597 self._localdata = eventdata
598 598
599class SanityCheck(Event): 599class SanityCheck(Event):
600 """ 600 """