OK. send me a patch. :-)

On Monday, 15 October 2012 12:44:48 UTC-5, Fran wrote:
>
> On 15 October 2012 18:36, Vladyslav Kozlovskyy 
> <[email protected]<javascript:>> 
> wrote: 
> > We have [is_gae] variable in [gluon/languages.py] to avoid writting 
> dicts in 
> > Google AppEngine. 
> > All we need is to make such replacement in [gluon/languages.py]: 
> > replace 
> > 38 is_gae = settings.global_settings.web2py_runtime_gae 
> > with 
> > 38 is_gae = settings.global_settings.web2py_runtime_gae or 
> > setings.global_settings.languages_readonly  # or use better varname :) 
>
> Right - this is the right place to do it, but I'd do: 
> 38 read_only = settings.global_settings.web2py_runtime_gae or 
> settings.global_settings.languages_readonly 
>
> & then replace other is_gae refs with that... 
>
> F 
>

-- 



Reply via email to