The following variable holds correct application name on the production 
side:

os.getenv('APPLICATION_ID')

Unfortunately it holds a crap like "dev~appname" on the dev server. But it 
is better than parsing file path (that's a really bad idea).

-- 
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/-/v7W-7_p_rxsJ.
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