summaryrefslogtreecommitdiff
path: root/tools/gyp
diff options
context:
space:
mode:
authorcclauss <cclauss@me.com>2019-08-29 21:59:14 +0200
committerRich Trott <rtrott@gmail.com>2019-09-02 21:01:09 -0700
commit020c2eaf4bf630652c1e9d3b238579c37036a4aa (patch)
treeff888926f3ed08c4bc129a1f6faa139cae2987bb /tools/gyp
parentcd2a3f83278f84dd77137b0b81e6fd5fcec4d304 (diff)
downloadnode-new-020c2eaf4bf630652c1e9d3b238579c37036a4aa.tar.gz
tools: use 'from io import StringIO' in ninja.py
PR-URL: https://github.com/nodejs/node/pull/29371 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Jiawen Geng <technicalcute@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Diffstat (limited to 'tools/gyp')
-rw-r--r--tools/gyp/pylib/gyp/generator/ninja.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/gyp/pylib/gyp/generator/ninja.py b/tools/gyp/pylib/gyp/generator/ninja.py
index 3658fb6be7..7d1d3b7b30 100644
--- a/tools/gyp/pylib/gyp/generator/ninja.py
+++ b/tools/gyp/pylib/gyp/generator/ninja.py
@@ -20,7 +20,7 @@ from gyp.common import OrderedSet
import gyp.msvs_emulation
import gyp.MSVSUtil as MSVSUtil
import gyp.xcode_emulation
-from cStringIO import StringIO
+from io import StringIO
from gyp.common import GetEnvironFallback
import gyp.ninja_syntax as ninja_syntax