sure, it's a right decision :)

У пн, 2012-10-15 у 18:44 +0100, Fran Boon пише:

> On 15 October 2012 18:36, Vladyslav Kozlovskyy <[email protected]> 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