I am not sure if that is true or not.

To test for GAE, I would set 'is_gae' to True in gaehandler.py to
achieve fool-proof detection.

To detect production/debug on GAE, I use this in 0.py:

response.debug = os.environ.get('SERVER_SOFTWARE','').startswith
('Devel')

Robin

On Apr 11, 2:59 pm, mdipierro <[email protected]> wrote:
> Is this still true on GAE?
>
> try:
>     magic = imp.get_magic()
> except:
>     is_gae = True
> else:
>     is_gae = False
>
> If not. How can we fix it? If this not true any more it may be causing
> a major slow down on GAE.
>
> Massimo
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to