"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "SCons/CacheDir.py" between
SCons-4.3.0.tar.gz and SCons-4.4.0.tar.gz

About: SCons is a software construction tool (a Python script and a set of modules as a superior alternative to the classic "Make" build tool).

CacheDir.py  (SCons-4.3.0):CacheDir.py  (SCons-4.4.0)
skipping to change at line 127 skipping to change at line 127
else: else:
cd.copy_to_cache(env, t.get_internal_path(), tempfile) cd.copy_to_cache(env, t.get_internal_path(), tempfile)
fs.rename(tempfile, cachefile) fs.rename(tempfile, cachefile)
except EnvironmentError: except EnvironmentError:
# It's possible someone else tried writing the file at the # It's possible someone else tried writing the file at the
# same time we did, or else that there was some problem like # same time we did, or else that there was some problem like
# the CacheDir being on a separate file system that's full. # the CacheDir being on a separate file system that's full.
# In any case, inability to push a file to cache doesn't affect # In any case, inability to push a file to cache doesn't affect
# the correctness of the build, so just print a warning. # the correctness of the build, so just print a warning.
msg = errfmt % (str(target), cachefile) msg = errfmt % (str(t), cachefile)
cd.CacheDebug(errfmt + '\n', str(t), cachefile)
SCons.Warnings.warn(SCons.Warnings.CacheWriteErrorWarning, msg) SCons.Warnings.warn(SCons.Warnings.CacheWriteErrorWarning, msg)
CachePush = SCons.Action.Action(CachePushFunc, None) CachePush = SCons.Action.Action(CachePushFunc, None)
class CacheDir: class CacheDir:
def __init__(self, path): def __init__(self, path):
""" """
Initialize a CacheDir object. Initialize a CacheDir object.
 End of changes. 1 change blocks. 
1 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)