summaryrefslogtreecommitdiffstats
path: root/src/engine/SCons/Sig
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2005-07-04 23:51:28 (GMT)
committerSteven Knight <knight@baldmt.com>2005-07-04 23:51:28 (GMT)
commite0a7426d7aff19eb1b7af396086ccebb692a48d3 (patch)
treed121a6443f3a5bb998c67b507170cff8537ae015 /src/engine/SCons/Sig
parent01878e78547c411543d8afb3bd150d090f07447d (diff)
downloadSCons-e0a7426d7aff19eb1b7af396086ccebb692a48d3.zip
SCons-e0a7426d7aff19eb1b7af396086ccebb692a48d3.tar.gz
SCons-e0a7426d7aff19eb1b7af396086ccebb692a48d3.tar.bz2
Move max_drift from Sig/MD5.py to Node/FS.py.
Diffstat (limited to 'src/engine/SCons/Sig')
-rw-r--r--src/engine/SCons/Sig/__init__.py10
1 files changed, 1 insertions, 9 deletions
diff --git a/src/engine/SCons/Sig/__init__.py b/src/engine/SCons/Sig/__init__.py
index 00c2b83..cfad3e8 100644
--- a/src/engine/SCons/Sig/__init__.py
+++ b/src/engine/SCons/Sig/__init__.py
@@ -36,26 +36,18 @@ except ImportError:
import TimeStamp
default_module = TimeStamp
-# XXX We should move max_drift into Node/FS.py,
-# since it's really something about files.
-default_max_drift = 2*24*60*60
-
class Calculator:
"""
Encapsulates signature calculations and .sconsign file generating
for the build engine.
"""
- def __init__(self, module=default_module, max_drift=default_max_drift):
+ def __init__(self, module=default_module):
"""
Initialize the calculator.
module - the signature module to use for signature calculations
- max_drift - the maximum system clock drift used to determine when to
- cache content signatures. A negative value means to never cache
- content signatures. (defaults to 2 days)
"""
self.module = module
- self.max_drift = max_drift
default_calc = Calculator()