diff options
author | Mats Wichmann <mats@linux.com> | 2019-04-28 14:19:25 (GMT) |
---|---|---|
committer | Mats Wichmann <mats@linux.com> | 2019-04-28 14:19:25 (GMT) |
commit | d745eb81c18d448837740d9543570ddd110243d6 (patch) | |
tree | 497675df3ba7f7a6b9186528be14a8b0812d1ffe /src/engine | |
parent | cf295af03fc735fbe8a01d3a72365da26c175351 (diff) | |
download | SCons-d745eb81c18d448837740d9543570ddd110243d6.zip SCons-d745eb81c18d448837740d9543570ddd110243d6.tar.gz SCons-d745eb81c18d448837740d9543570ddd110243d6.tar.bz2 |
[PR #3353] fix sider nitpickery
sider complained about spelling in a comment after I
updated the comment so it got to look at those lines
as part of the change. Fix those.
Signed-off-by: Mats Wichmann <mats@linux.com>
Diffstat (limited to 'src/engine')
-rw-r--r-- | src/engine/SCons/CacheDir.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/engine/SCons/CacheDir.py b/src/engine/SCons/CacheDir.py index 580337a..0a378c2 100644 --- a/src/engine/SCons/CacheDir.py +++ b/src/engine/SCons/CacheDir.py @@ -213,13 +213,13 @@ class CacheDir(object): """ config_file = os.path.join(path, 'config') if not os.path.exists(config_file): - # A note: There is a race hazard here, if two processes start and + # A note: There is a race hazard here if two processes start and # attempt to create the cache directory at the same time. However, # Python 2.x does not give you the option to do exclusive file - # creation (not even the option to error on opening ad existing - # file for writing...). The ordering of events here as an attempt + # creation (not even the option to error on opening an existing + # file for writing...). The ordering of events here is an attempt # to alleviate this, on the basis that it's a pretty unlikely - # occurence (would require two builds with a brand new cache + # occurrence (would require two builds with a brand new cache # directory) if os.path.isdir(path) and any(f != "config" for f in os.listdir(path)): self.config['prefix_len'] = 1 |