changeset 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
files waf_paths.py wscript
diffstat 2 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/waf_paths.py	Wed Jun 15 13:21:25 2011 -1000
+++ b/waf_paths.py	Wed Jun 15 20:15:18 2011 -1000
@@ -101,7 +101,6 @@
     def set_env_paths(path_values):
         errors_raised = False
         index = 0
-        print(path_values.keys(), path_values)
         for option_name in path_values.keys():
             help, default = path_values[option_name]
             upper_option_name = option_name.upper()
--- a/wscript	Wed Jun 15 13:21:25 2011 -1000
+++ b/wscript	Wed Jun 15 20:15:18 2011 -1000
@@ -22,7 +22,7 @@
 
 def configure(cnf):
     cnf.load('waf_paths python')
-    if sys.platform == 'Windows':
+    if platform.system() == 'Windows':
         min_python_version = (2, 7)
     else:
         min_python_version = (2, 6)