diff options
author | Russel Winder <russel@winder.org.uk> | 2016-02-02 17:56:18 (GMT) |
---|---|---|
committer | Russel Winder <russel@winder.org.uk> | 2016-02-02 17:56:18 (GMT) |
commit | 193c96046004369ba13fb9b4fc0e992513cc8f78 (patch) | |
tree | 9198fa46bfd7258bd76bf4fac24a1ea8fdde76c1 /src/script | |
parent | de84af3f318501b8a776cbc0b93e9aec5c85f819 (diff) | |
download | SCons-193c96046004369ba13fb9b4fc0e992513cc8f78.zip SCons-193c96046004369ba13fb9b4fc0e992513cc8f78.tar.gz SCons-193c96046004369ba13fb9b4fc0e992513cc8f78.tar.bz2 |
Remove all the six stuff.
Diffstat (limited to 'src/script')
-rw-r--r-- | src/script/sconsign.py | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/src/script/sconsign.py b/src/script/sconsign.py index daf088e..6f49858 100644 --- a/src/script/sconsign.py +++ b/src/script/sconsign.py @@ -25,8 +25,6 @@ from __future__ import print_function -from SCons.compat.six import PY2, PY3 - __revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__" __version__ = "__VERSION__" @@ -188,8 +186,7 @@ sys.path = libs + sys.path import SCons.compat -if PY2: - import whichdb +import whichdb import dbm import time import pickle @@ -208,10 +205,7 @@ def my_whichdb(filename): pass return _orig_whichdb(filename) -if PY3: - _orig_whichdb = dbm.whichdb -else: - _orig_whichdb = whichdb.whichdb +_orig_whichdb = whichdb.whichdb dbm.whichdb = my_whichdb def my_import(mname): |