Fix for systems without threading - Issue 1323

This commit is contained in:
Thomas Nagy 2013-05-30 21:06:30 +02:00
parent e20207811f
commit 48c3889917
2 changed files with 8 additions and 1 deletions

View File

@ -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

View File

@ -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()