summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorWilliam Deegan <bill@baddogconsulting.com>2015-11-24 17:26:03 (GMT)
committerWilliam Deegan <bill@baddogconsulting.com>2015-11-24 17:26:03 (GMT)
commit6d8c18bc0b10a41d64296d42214e92e338a9270b (patch)
tree2aa56b1f3424bb6dd97dd5c1fd6b6d63cc2dafdf /src
parentabf1f461c7d34a00fd2a7348c3d91f10bf382c43 (diff)
downloadSCons-6d8c18bc0b10a41d64296d42214e92e338a9270b.zip
SCons-6d8c18bc0b10a41d64296d42214e92e338a9270b.tar.gz
SCons-6d8c18bc0b10a41d64296d42214e92e338a9270b.tar.bz2
Fix warning message when running SCons with a python built without sha256 or other required hashlib. Previously it would say no module SCons.Warnings. I can't find an effective way to test for this.
Diffstat (limited to 'src')
-rw-r--r--src/engine/SCons/CacheDir.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/engine/SCons/CacheDir.py b/src/engine/SCons/CacheDir.py
index f32b326..3b7d06f 100644
--- a/src/engine/SCons/CacheDir.py
+++ b/src/engine/SCons/CacheDir.py
@@ -32,6 +32,7 @@ import stat
import sys
import SCons.Action
+import SCons.Warnings
cache_enabled = True
cache_debug = False