diff options
Diffstat (limited to 'bitbake/lib/bb/checksum.py')
-rw-r--r-- | bitbake/lib/bb/checksum.py | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/bitbake/lib/bb/checksum.py b/bitbake/lib/bb/checksum.py index 2ec964d73b..be4ab68915 100644 --- a/bitbake/lib/bb/checksum.py +++ b/bitbake/lib/bb/checksum.py | |||
@@ -19,20 +19,13 @@ import glob | |||
19 | import operator | 19 | import operator |
20 | import os | 20 | import os |
21 | import stat | 21 | import stat |
22 | import pickle | ||
22 | import bb.utils | 23 | import bb.utils |
23 | import logging | 24 | import logging |
24 | from bb.cache import MultiProcessCache | 25 | from bb.cache import MultiProcessCache |
25 | 26 | ||
26 | logger = logging.getLogger("BitBake.Cache") | 27 | logger = logging.getLogger("BitBake.Cache") |
27 | 28 | ||
28 | try: | ||
29 | import cPickle as pickle | ||
30 | except ImportError: | ||
31 | import pickle | ||
32 | logger.info("Importing cPickle failed. " | ||
33 | "Falling back to a very slow implementation.") | ||
34 | |||
35 | |||
36 | # mtime cache (non-persistent) | 29 | # mtime cache (non-persistent) |
37 | # based upon the assumption that files do not change during bitbake run | 30 | # based upon the assumption that files do not change during bitbake run |
38 | class FileMtimeCache(object): | 31 | class FileMtimeCache(object): |