diff options
author | Chris Larson <chris_larson@mentor.com> | 2010-12-10 14:38:48 -0700 |
---|---|---|
committer | Chris Larson <chris_larson@mentor.com> | 2010-12-10 14:38:48 -0700 |
commit | b16c0c1dc3b7e03b02555e9803767a0d695e67f1 (patch) | |
tree | df03dd632a080c3dcaefe540ce96bc31bdf4b497 /lib | |
parent | f57f8f3cc980e3ae1693c2e065227e951ed0b1c0 (diff) | |
download | openembedded-core-contrib-b16c0c1dc3b7e03b02555e9803767a0d695e67f1.tar.gz |
event: use cPickle for events
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/bb/event.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/bb/event.py b/lib/bb/event.py index 15ba59f5f9..b6a59fa8f6 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 |