更新时间:2023-11-05 19:48:28
通常情况下,您会将变量存储在您的环境中以供以后测试.
Typically you would store the variables in your environment for later testing.
opts = Variables()
opts.Add('fcgi',0)
env = Environment(variables=opts, ...)
然后你可以测试:
if env['fcgi'] == 0:
# do something