diff options
| -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 |
