summaryrefslogtreecommitdiffstats
path: root/src/engine/SCons/Tool
diff options
context:
space:
mode:
authorRussel Winder <russel@winder.org.uk>2016-02-02 17:56:18 (GMT)
committerRussel Winder <russel@winder.org.uk>2016-02-02 17:56:18 (GMT)
commit193c96046004369ba13fb9b4fc0e992513cc8f78 (patch)
tree9198fa46bfd7258bd76bf4fac24a1ea8fdde76c1 /src/engine/SCons/Tool
parentde84af3f318501b8a776cbc0b93e9aec5c85f819 (diff)
downloadSCons-193c96046004369ba13fb9b4fc0e992513cc8f78.zip
SCons-193c96046004369ba13fb9b4fc0e992513cc8f78.tar.gz
SCons-193c96046004369ba13fb9b4fc0e992513cc8f78.tar.bz2
Remove all the six stuff.
Diffstat (limited to 'src/engine/SCons/Tool')
-rw-r--r--src/engine/SCons/Tool/xgettext.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/engine/SCons/Tool/xgettext.py b/src/engine/SCons/Tool/xgettext.py
index ff45989..e9b49b7 100644
--- a/src/engine/SCons/Tool/xgettext.py
+++ b/src/engine/SCons/Tool/xgettext.py
@@ -23,7 +23,6 @@ Tool specific initialization of `xgettext` tool.
# LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-from SCons.compat.six import u
__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
@@ -33,7 +32,7 @@ class _CmdRunner(object):
variables. It also provides `strfunction()` method, which shall be used by
scons Action objects to print command string. """
- def __init__( self, command, commandstr = None):
+ def __init__(self, command, commandstr = None):
self.out = None
self.err = None
self.status = None
@@ -56,7 +55,8 @@ class _CmdRunner(object):
proc = SCons.Action._subproc(env, command, **kw)
self.out, self.err = proc.communicate()
self.status = proc.wait()
- if self.err: sys.stderr.write(u(self.err))
+ if self.err:
+ sys.stderr.write(unicode(self.err))
return self.status
def strfunction(self, target, source, env):