I want kind of #ifdef in my web service code, condition which checks if 
this code runs in production or in development mode at the time of check.
What's the best and simpliest way?

How can I get config name from `pserve config_name.ini` command in my view 
code?

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/pylons-discuss.
For more options, visit https://groups.google.com/d/optout.

Reply via email to