comparison wscript @ 21:feceb6130570

Fixed crash in WAF configure target. * Replaced a call to sys.platform with one to platform.system in the wscript that was causing WAF to die because sys hadn't been imported. * Removed an extraneous print statement from waf_paths.py.
author M. George Hansen <technopolitica@gmail.com>
date Wed, 15 Jun 2011 20:15:18 -1000
parents 07ff8cf8a0f1
children a2b1966ebe5a
comparison
equal deleted inserted replaced
20:07ff8cf8a0f1 21:feceb6130570
20 dest='fifepath', 20 dest='fifepath',
21 ) 21 )
22 22
23 def configure(cnf): 23 def configure(cnf):
24 cnf.load('waf_paths python') 24 cnf.load('waf_paths python')
25 if sys.platform == 'Windows': 25 if platform.system() == 'Windows':
26 min_python_version = (2, 7) 26 min_python_version = (2, 7)
27 else: 27 else:
28 min_python_version = (2, 6) 28 min_python_version = (2, 6)
29 cnf.check_python_version(min_python_version) 29 cnf.check_python_version(min_python_version)
30 30