mirror of https://gitlab.com/ita1024/waf.git
Fix for systems without threading - Issue 1323
This commit is contained in:
parent
e20207811f
commit
48c3889917
|
@ -1,3 +1,7 @@
|
|||
NEW IN WAF 1.7.12
|
||||
-----------------
|
||||
* Fix for systems without threading #1323
|
||||
|
||||
NEW IN WAF 1.7.11
|
||||
-----------------
|
||||
* Node.delete remove empty folders #1278
|
||||
|
|
|
@ -11,7 +11,10 @@ import os, re, traceback, sys
|
|||
try:
|
||||
import threading
|
||||
except ImportError:
|
||||
pass
|
||||
_nocolor = 1
|
||||
if not 'JOBS' in os.environ:
|
||||
# no threading :-(
|
||||
os.environ['JOBS'] = '1'
|
||||
else:
|
||||
wlock = threading.Lock()
|
||||
|
||||
|
|
Loading…
Reference in New Issue