diff options
author | Dirk Baechle <dl9obn@darc.de> | 2015-12-10 18:01:37 +0100 |
---|---|---|
committer | Dirk Baechle <dl9obn@darc.de> | 2015-12-10 18:01:37 +0100 |
commit | 116e6ff0e0b446323532b33a6018249e97e92e3b (patch) | |
tree | d88708df964dc576ad2a85eedd9ef08cd29a0240 /bin | |
parent | 7da3d7d21c8ab47b73b3cd0733edecf314258d83 (diff) | |
download | scons-116e6ff0e0b446323532b33a6018249e97e92e3b.tar.gz |
removed several pre-2.7 methods and imports, including some basic refactorings
Diffstat (limited to 'bin')
-rw-r--r-- | bin/scons-proc.py | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/bin/scons-proc.py b/bin/scons-proc.py index 9567db8c..d6a770bd 100644 --- a/bin/scons-proc.py +++ b/bin/scons-proc.py @@ -14,11 +14,7 @@ import os import re import string import sys -try: - from io import StringIO # usable as of 2.6; takes unicode only -except ImportError: - # No 'io' module or no StringIO in io - exec('from cStringIO import StringIO') +from io import StringIO # usable as of 2.6; takes unicode only import SConsDoc from SConsDoc import tf as stf |