On Nov 29, 2006, at 8:55 PM, [EMAIL PROTECTED] wrote:

>
> I was looking at source of update_config in turbogears/config.py.
>
> **ONLY** when a modulename param is passed does the config receive
> standard default paths such as top_level_dir, package_dir &
> current_dir_uri.
>
> Can someone please explain, if they don't mind, why when NO modulename
> param is passed does poor little config **NOT** get those nice paths
> defined like top_level_dir, package_dir & current_dir_uri?? :)

This is a fine question. top_level_dir and package_dir are both based  
on the module specifically (they use the  
pkg_resources.resource_filename which locates things relative to the  
pythonpath).

current_dir_uri could be defined in all cases, though.

Kevin


--~--~---------~--~----~------------~-------~--~----~
 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to