aboutsummaryrefslogtreecommitdiffstats
path: root/lib/bb/event.py
diff options
context:
space:
mode:
authorChris Larson <chris_larson@mentor.com>2010-12-10 14:38:48 -0700
committerChris Larson <chris_larson@mentor.com>2010-12-10 14:38:48 -0700
commitb16c0c1dc3b7e03b02555e9803767a0d695e67f1 (patch)
treedf03dd632a080c3dcaefe540ce96bc31bdf4b497 /lib/bb/event.py
parentf57f8f3cc980e3ae1693c2e065227e951ed0b1c0 (diff)
downloadbitbake-b16c0c1dc3b7e03b02555e9803767a0d695e67f1.tar.gz
bitbake-b16c0c1dc3b7e03b02555e9803767a0d695e67f1.tar.bz2
bitbake-b16c0c1dc3b7e03b02555e9803767a0d695e67f1.zip
event: use cPickle for events
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Diffstat (limited to 'lib/bb/event.py')
-rw-r--r--lib/bb/event.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/bb/event.py b/lib/bb/event.py
index 15ba59f5..b6a59fa8 100644
--- a/lib/bb/event.py
+++ b/lib/bb/event.py
@@ -24,7 +24,10 @@ BitBake build tools.
import os, sys
import warnings
-import pickle
+try:
+ import cPickle as pickle
+except ImportError:
+ import pickle
import logging
import atexit
import bb.utils