Hello, all!

I'm attempting to create what I believe should be a very simple Trac 
plugin. All I want to do is set the database string from an environmental 
variable.

I've been playing around with this for a bit now, and I can't figure out 
the way I ought to do this.

I'm under the impression that I want to do something like the following:

self.config.set('trac', 'database', os.environ.get('DATABASE_URL'))

But I'm not sure where. Or how.

Thanks for any help,
~Drew Carey Buglione

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-dev+unsubscr...@googlegroups.com.
To post to this group, send email to trac-dev@googlegroups.com.
Visit this group at http://groups.google.com/group/trac-dev.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to