summaryrefslogtreecommitdiff
path: root/bitbake/lib
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib')
-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 61dec232d..c2bacc50c 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