We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 95431ea commit a20a8f4Copy full SHA for a20a8f4
tools/gyp/pylib/gyp/generator/ninja.py
@@ -20,7 +20,10 @@
20
import gyp.msvs_emulation
21
import gyp.MSVSUtil as MSVSUtil
22
import gyp.xcode_emulation
23
-from io import StringIO
+try:
24
+ from cStringIO import StringIO
25
+except ImportError:
26
+ from io import StringIO
27
28
from gyp.common import GetEnvironFallback
29
import gyp.ninja_syntax as ninja_syntax
0 commit comments