1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00

waf: Update to newer upstream snapshot.

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Tue Jul 24 16:42:44 CEST 2012 on sn-devel-104
This commit is contained in:
Andrew Bartlett 2012-07-24 21:40:35 +10:00
parent 867de2f3aa
commit d00d20626f

View File

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