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