From d00d20626f54e87c5d51624eae6be334b88eb49a Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Tue, 24 Jul 2012 21:40:35 +1000 Subject: waf: Update to newer upstream snapshot. Autobuild-User(master): Andrew Bartlett Autobuild-Date(master): Tue Jul 24 16:42:44 CEST 2012 on sn-devel-104 --- buildtools/wafadmin/Tools/python.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'buildtools/wafadmin') diff --git a/buildtools/wafadmin/Tools/python.py b/buildtools/wafadmin/Tools/python.py index 511cf09141..c2af3123f7 100644 --- a/buildtools/wafadmin/Tools/python.py +++ b/buildtools/wafadmin/Tools/python.py @@ -136,8 +136,8 @@ def _get_python_variables(python_exe, variables, imports=['import sys']): continue if s == 'None': return_values.append(None) - elif s[0] == "'" and s[-1] == "'": - return_values.append(s[1:-1]) + elif (s[0] == "'" and s[-1] == "'") or (s[0] == '"' and s[-1] == '"'): + return_values.append(eval(s)) elif s[0].isdigit(): return_values.append(int(s)) else: break -- cgit