On 12/13/06, kuom <[EMAIL PROTECTED]> wrote: > > Hi all: > > Does anyone here have any suggestions on how I should approach this? I > would like to be able to have this functionality and not have to > re-patch TurboGears every time I run an update... > just a though
the dev/prod.cfg files are being set in the startup-<proj>.py script that file is very flexible, you could run your unencrypt function on the file and then as Adam suggested user an "in memory unencrypted file" and pass that instead of the normal file. as for app.cfg and log.cfg those are a bit more complicated the simpliest approach will be to create unencrypted copies of them in the same set above but you will have to drop them to the disk so ConfigObj will load them. that may be a security problem, but I can't think of any other way that doesn't involves modifiying the source. > Thanks in advance. And again, apologies if this was not an appropriate > post. > > -Josh > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" 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/turbogears?hl=en -~----------~----~----~----~------~----~------~--~---

