On 3/17/06, Kevin Dangoor <[EMAIL PROTECTED]> wrote:
>
> On 3/17/06, Elvelind Grandin <[EMAIL PROTECTED]> wrote:
> >
> > does this mean that all the old "we cant use python in config"
> > problems are back again?
>
> Yes and no. Yes, we can't use Python in config files... but, something
> I've discovered since those days, is that we *can* use %()s
> substitutions. So, to get around static directory issues, for example,
> a couple of variables are defined for your app config to point to
> useful directories.

ah. You can always use the cp dict form to set it up using python.
perhaps we should have some standard place where you could do this.
like almost empty config.py

>
> > I saw that some config file test fails in the trunk right now. I dont
> > know it that is a problem or if you are fixing it.
>
> Actually, everything was passing. It would appear that [962] broke it.

It breaks for me on 961
ERROR: turbogears.tests.test_config.test_update_from_both
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/nose-0.8.6-py2.4.egg/nose/core.py",
line 112, in runTest
    self.testFunc()
  File "/home/elvelind/src/turbogears/trunk/turbogears/tests/test_config.py",
line 21, in test_update_from_both
    modulename="turbogears.tests.config")
  File "/home/elvelind/src/turbogears/trunk/turbogears/config.py",
line 34, in update_config
    package_dir=
TypeError: dict_from_config_file() got an unexpected keyword argument 'vars'


> Kevin
>
>
>


--
cheers
    elvelind grandin

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears Trunk" 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-trunk
-~----------~----~----~----~------~----~------~--~---

Reply via email to