summaryrefslogtreecommitdiffstats
path: root/src/engine/SCons/CacheDirTests.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine/SCons/CacheDirTests.py')
-rw-r--r--src/engine/SCons/CacheDirTests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/engine/SCons/CacheDirTests.py b/src/engine/SCons/CacheDirTests.py
index 82fba8f..8a52928 100644
--- a/src/engine/SCons/CacheDirTests.py
+++ b/src/engine/SCons/CacheDirTests.py
@@ -249,7 +249,7 @@ class FileTestCase(BaseTestCase):
warn_caught = 0
try:
f7.push_to_cache()
- except SCons.Errors.BuildError, e:
+ except SCons.Errors.BuildError as e:
assert e.exc_info[0] == SCons.Warnings.CacheWriteErrorWarning
warn_caught = 1
assert warn_caught