From b16c0c1dc3b7e03b02555e9803767a0d695e67f1 Mon Sep 17 00:00:00 2001 From: Chris Larson Date: Fri, 10 Dec 2010 14:38:48 -0700 Subject: event: use cPickle for events Signed-off-by: Chris Larson --- lib/bb/event.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'lib/bb') diff --git a/lib/bb/event.py b/lib/bb/event.py index 15ba59f5f..b6a59fa8f 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 -- cgit 1.2.3-korg