summaryrefslogtreecommitdiffstats
path: root/src/engine/SCons/Util.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine/SCons/Util.py')
-rw-r--r--src/engine/SCons/Util.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/engine/SCons/Util.py b/src/engine/SCons/Util.py
index e88a90b..6816af0 100644
--- a/src/engine/SCons/Util.py
+++ b/src/engine/SCons/Util.py
@@ -29,6 +29,8 @@ Various utility functions go here.
__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
+import SCons.compat
+
import copy
import os
import os.path
@@ -738,8 +740,8 @@ else:
# OSError subclass on Windows.)
class WindowsError(OSError):
pass
- import __builtin__
- __builtin__.WindowsError = WindowsError
+ import builtins
+ builtins.WindowsError = WindowsError
else:
del e