summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/checksum.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/bb/checksum.py')
-rw-r--r--bitbake/lib/bb/checksum.py9
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
19import operator 19import operator
20import os 20import os
21import stat 21import stat
22import pickle
22import bb.utils 23import bb.utils
23import logging 24import logging
24from bb.cache import MultiProcessCache 25from bb.cache import MultiProcessCache
25 26
26logger = logging.getLogger("BitBake.Cache") 27logger = logging.getLogger("BitBake.Cache")
27 28
28try:
29 import cPickle as pickle
30except 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
38class FileMtimeCache(object): 31class FileMtimeCache(object):