Good point! Try this too (I won't have access to appengine until the night):

from google.appengine.api import app_identity
app_identity.get_application_id()

2011/9/6 Ronoaldo José de Lana Pereira <[email protected]>

> Oops, sorry, I misunderstood your question :) .. Ernesto's answer may be
> the only one available to you then: explore sys.argv to check if a version
> was specified. But this won't work if you start with a custom domain instead
> of a version-based domain.
>
> Best Regards,
>
> -Ronoaldo
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/google-appengine/-/6p7xB0dqOa4J.
>
> 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/google-appengine?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" 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/google-appengine?hl=en.

Reply via email to