mirror of https://gitlab.com/ita1024/waf.git
Revert "cleanup"
This reverts commit 3fa197298b
.
Trying to import extras/subprocess first fails on Python 3.{1,2}.
This commit is contained in:
parent
1553cb2dd6
commit
a30aa80dcc
|
@ -11,9 +11,12 @@ through Python versions 2.3 to 3.X and across different platforms (win32, linux,
|
|||
|
||||
import os, sys, errno, traceback, inspect, re, shutil, datetime, gc
|
||||
try:
|
||||
from waflib.extras import subprocess
|
||||
except ImportError:
|
||||
import subprocess
|
||||
except:
|
||||
try:
|
||||
import waflib.extras.subprocess as subprocess
|
||||
except:
|
||||
print("The subprocess module is missing (python2.3?):\n try calling 'waf update --files=subprocess'\n or add a copy of subprocess.py to the python libraries")
|
||||
|
||||
try:
|
||||
from collections import deque
|
||||
|
|
Loading…
Reference in New Issue