distrodata.bbclass: fix syntax errors
authorLaurentiu Palcu <laurentiu.palcu@intel.com>
Sat, 15 Jun 2013 12:17:36 +0000 (15:17 +0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 17 Jun 2013 11:35:51 +0000 (12:35 +0100)
Thes were added by the recent event handler changes.

(From OE-Core rev: 166313ca2edd05f7d3472ba23ba6f44ae12a7d12)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/distrodata.bbclass

index 3ff6268..907f78d 100644 (file)
@@ -196,7 +196,7 @@ do_distrodataall() {
 }
 
 addhandler checkpkg_eventhandler
- checkpkg_eventhandler[eventmask] = "bb.event.BuildStarted bb.event.BuildCompleted"
+checkpkg_eventhandler[eventmask] = "bb.event.BuildStarted bb.event.BuildCompleted"
 python checkpkg_eventhandler() {
     def parse_csv_file(filename):
         package_dict = {}
@@ -793,7 +793,7 @@ do_checkpkgall() {
 }
 
 addhandler distro_check_eventhandler
-distro_check_eventhandler bb.event.BuildStarted
+distro_check_eventhandler[eventmask] = "bb.event.BuildStarted"
 python distro_check_eventhandler() {
     """initialize log files."""
     import oe.distro_check as dc