diff options
author | Chris Larson <chris_larson@mentor.com> | 2010-12-10 14:38:48 -0700 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2011-01-04 14:46:49 +0000 |
commit | 5a92e67b8655d0971c6e3e8233e984ef9ad42997 (patch) | |
tree | 0a24809146791bc6d260449ff907bc7d772f229f | |
parent | d2123cc395091fc7fe6c1864f9a8ac28833a57db (diff) | |
download | poky-5a92e67b8655d0971c6e3e8233e984ef9ad42997.tar.gz |
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.py | 5 |
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. | |||
24 | 24 | ||
25 | import os, sys | 25 | import os, sys |
26 | import warnings | 26 | import warnings |
27 | import pickle | 27 | try: |
28 | import cPickle as pickle | ||
29 | except ImportError: | ||
30 | import pickle | ||
28 | import logging | 31 | import logging |
29 | import atexit | 32 | import atexit |
30 | import bb.utils | 33 | import bb.utils |