summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Larson <chris_larson@mentor.com>2010-12-10 14:38:48 -0700
committerRichard Purdie <rpurdie@linux.intel.com>2011-01-04 14:46:49 +0000
commit5a92e67b8655d0971c6e3e8233e984ef9ad42997 (patch)
tree0a24809146791bc6d260449ff907bc7d772f229f
parentd2123cc395091fc7fe6c1864f9a8ac28833a57db (diff)
downloadopenembedded-core-5a92e67b8655d0971c6e3e8233e984ef9ad42997.tar.gz
openembedded-core-5a92e67b8655d0971c6e3e8233e984ef9ad42997.tar.bz2
openembedded-core-5a92e67b8655d0971c6e3e8233e984ef9ad42997.zip
event: use cPickle for events
(Bitbake rev: b16c0c1dc3b7e03b02555e9803767a0d695e67f1) Signed-off-by: Chris Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
-rw-r--r--bitbake/lib/bb/event.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/bitbake/lib/bb/event.py b/bitbake/lib/bb/event.py
index 61dec232da..c2bacc50c2 100644
--- a/bitbake/lib/bb/event.py
+++ b/bitbake/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