summaryrefslogtreecommitdiffstats
path: root/bitbake/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/bin')
-rwxr-xr-xbitbake/bin/toaster-eventreplay17
1 files changed, 6 insertions, 11 deletions
diff --git a/bitbake/bin/toaster-eventreplay b/bitbake/bin/toaster-eventreplay
index b9ab79e422..7de3967fe3 100755
--- a/bitbake/bin/toaster-eventreplay
+++ b/bitbake/bin/toaster-eventreplay
@@ -26,24 +26,19 @@
26# as a build eventlog, and the ToasterUI is used to process events in the file 26# as a build eventlog, and the ToasterUI is used to process events in the file
27# and log data in the database 27# and log data in the database
28 28
29from __future__ import print_function 29import sys
30import os 30import json
31import sys, logging 31import pickle
32import codecs 32import codecs
33
33from collections import namedtuple 34from collections import namedtuple
34 35
35# mangle syspath to allow easy import of modules 36# mangle syspath to allow easy import of modules
36sys.path.insert(0, os.path.join(os.path.dirname(os.path.dirname(os.path.abspath(__file__))), 37from os.path import join, dirname, abspath
37 'lib')) 38sys.path.insert(0, join(dirname(dirname(abspath(__file__))), 'lib'))
38
39 39
40import bb.cooker 40import bb.cooker
41from bb.ui import toasterui 41from bb.ui import toasterui
42import sys
43import logging
44
45import json, pickle
46
47 42
48class FileReadEventsServerConnection(): 43class FileReadEventsServerConnection():
49 """ Emulates a connection to a bitbake server that feeds 44 """ Emulates a connection to a bitbake server that feeds