flask for Python2.5 lockdown